mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-25 21:48:41 -06:00
moved assignment of variable
This commit is contained in:
@@ -725,11 +725,11 @@ namespace openspace {
|
||||
|
||||
|
||||
void ParallelConnection::disconnect(){
|
||||
//we're disconnecting
|
||||
_performDisconnect.store(false);
|
||||
|
||||
if (_clientSocket != INVALID_SOCKET){
|
||||
|
||||
//we're disconnecting
|
||||
_performDisconnect.store(false);
|
||||
|
||||
//must be run before trying to join communication threads, else the threads are stuck trying to receive data
|
||||
closeSocket();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user