mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Core: Fix SIGABRT possibility in EXI_DeviceGecko
Fixes issue 7586
This commit is contained in:
@ -23,10 +23,12 @@ GeckoSockServer::GeckoSockServer()
|
||||
GeckoSockServer::~GeckoSockServer()
|
||||
{
|
||||
if (clientThread.joinable())
|
||||
{
|
||||
--client_count;
|
||||
|
||||
client_running = false;
|
||||
clientThread.join();
|
||||
client_running = false;
|
||||
clientThread.join();
|
||||
}
|
||||
|
||||
if (client_count <= 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user