mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Merge pull request #1143 from lioncash/exi
Core: Fix SIGABRT possibility in EXI_DeviceGecko
This commit is contained in:
commit
c617f324b2
1 changed files with 4 additions and 2 deletions
|
@ -23,10 +23,12 @@ GeckoSockServer::GeckoSockServer()
|
||||||
GeckoSockServer::~GeckoSockServer()
|
GeckoSockServer::~GeckoSockServer()
|
||||||
{
|
{
|
||||||
if (clientThread.joinable())
|
if (clientThread.joinable())
|
||||||
|
{
|
||||||
--client_count;
|
--client_count;
|
||||||
|
|
||||||
client_running = false;
|
client_running = false;
|
||||||
clientThread.join();
|
clientThread.join();
|
||||||
|
}
|
||||||
|
|
||||||
if (client_count <= 0)
|
if (client_count <= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue