diff --git a/ixwebsocket/IXWebSocketTransport.cpp b/ixwebsocket/IXWebSocketTransport.cpp index b0edb298..ea33c2ad 100644 --- a/ixwebsocket/IXWebSocketTransport.cpp +++ b/ixwebsocket/IXWebSocketTransport.cpp @@ -766,6 +766,7 @@ namespace ix _socket->close(); _closeCode = 1000; + _closeReason = "Normal Closure"; setReadyState(CLOSED); }