fix crash on close
This commit is contained in:
parent
2a90ad9e53
commit
bd96050d84
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user