Merge pull request #1143 from lioncash/exi

Core: Fix SIGABRT possibility in EXI_DeviceGecko
This commit is contained in:
shuffle2 2014-09-22 00:16:34 -07:00
commit c617f324b2
1 changed files with 4 additions and 2 deletions

View File

@ -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)
{