Fix watchdog timer hanging on exit (r=dvander).

This commit is contained in:
Nicholas Hastings 2013-09-23 22:29:28 -04:00
parent 39e955c412
commit 55bf8ec095
2 changed files with 2 additions and 1 deletions

View File

@ -192,6 +192,7 @@ bool SourcePawnEngine2::Initialize()
void SourcePawnEngine2::Shutdown()
{
g_WatchdogTimer.Shutdown();
g_Jit.ShutdownJIT();
}

View File

@ -31,7 +31,7 @@ WatchdogTimer::WatchdogTimer()
WatchdogTimer::~WatchdogTimer()
{
Shutdown();
assert(!thread_);
}
bool