mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
GeckoSockServer: Only join connectionThread if it is joinable
This commit is contained in:
@ -43,7 +43,7 @@ GeckoSockServer::~GeckoSockServer()
|
||||
clientThread.join();
|
||||
}
|
||||
|
||||
if (client_count <= 0)
|
||||
if (client_count <= 0 && connectionThread.joinable())
|
||||
{
|
||||
server_running.Clear();
|
||||
connectionThread.join();
|
||||
|
Reference in New Issue
Block a user