Skip to content

Commit

Permalink
GeckoSockServer: Only join connectionThread if it is joinable
Browse files Browse the repository at this point in the history
  • Loading branch information
OatmealDome committed Jul 20, 2021
1 parent b0d2df7 commit 48bcd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/EXI/EXI_DeviceGecko.cpp
Expand Up @@ -43,7 +43,7 @@ GeckoSockServer::~GeckoSockServer()
clientThread.join();
}

if (client_count <= 0)
if (client_count <= 0 && connectionThread.joinable())
{
server_running.Clear();
connectionThread.join();
Expand Down

0 comments on commit 48bcd96

Please sign in to comment.