fix crash on close

This commit is contained in:
Dimon4eg 2019-05-10 20:32:17 +03:00 committed by Benjamin Sergeant
parent 2a90ad9e53
commit bd96050d84

View File

@ -149,6 +149,7 @@ namespace ix
// This value needs to be forced when shutting down, it is restored later // This value needs to be forced when shutting down, it is restored later
_automaticReconnection = false; _automaticReconnection = false;
// sync close
close(); close();
if (_thread.joinable()) if (_thread.joinable())