Browse Source

Change thread join to detach

Dydzio 2 years ago
parent
commit
16d06827d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/widgets/AdventureMapClasses.cpp

+ 1 - 1
client/widgets/AdventureMapClasses.cpp

@@ -1159,7 +1159,7 @@ void CInGameConsole::endEnteringText(bool processEnteredText)
 		{
 		{
 			//some commands like gosolo don't work when executed from GUI thread
 			//some commands like gosolo don't work when executed from GUI thread
 			boost::thread clientCommandThread(ClientCommandManager::processCommand, txt.substr(1), true);
 			boost::thread clientCommandThread(ClientCommandManager::processCommand, txt.substr(1), true);
-			clientCommandThread.join();
+			clientCommandThread.detach();
 		}
 		}
 	}
 	}
 	enteredText.clear();
 	enteredText.clear();