From bd96050d848b7e22e83d480e469497c4a7c058ae Mon Sep 17 00:00:00 2001 From: Dimon4eg Date: Fri, 10 May 2019 20:32:17 +0300 Subject: [PATCH] fix crash on close --- ixwebsocket/IXWebSocket.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ixwebsocket/IXWebSocket.cpp b/ixwebsocket/IXWebSocket.cpp index 7d568561..628fb314 100644 --- a/ixwebsocket/IXWebSocket.cpp +++ b/ixwebsocket/IXWebSocket.cpp @@ -149,6 +149,7 @@ namespace ix // This value needs to be forced when shutting down, it is restored later _automaticReconnection = false; + // sync close close(); if (_thread.joinable())