Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9927 from OatmealDome/double-usbgecko
GeckoSockServer: Only join connectionThread if it is joinable
  • Loading branch information
JMC47 committed Jul 21, 2021
2 parents 175878c + 48bcd96 commit b515786
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 b515786

Please sign in to comment.