2
0
Эх сурвалжийг харах

Change thread join to detach

Dydzio 2 жил өмнө
parent
commit
16d06827d6

+ 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
 			boost::thread clientCommandThread(ClientCommandManager::processCommand, txt.substr(1), true);
-			clientCommandThread.join();
+			clientCommandThread.detach();
 		}
 	}
 	enteredText.clear();