mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
GeckoSockServer: Only join connectionThread if it is joinable
This commit is contained in:
parent
b0d2df727a
commit
48bcd96526
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ GeckoSockServer::~GeckoSockServer()
|
||||||
clientThread.join();
|
clientThread.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (client_count <= 0)
|
if (client_count <= 0 && connectionThread.joinable())
|
||||||
{
|
{
|
||||||
server_running.Clear();
|
server_running.Clear();
|
||||||
connectionThread.join();
|
connectionThread.join();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue