mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Change thread join to detach
This commit is contained in:
		| @@ -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(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user