AutoResetEvent: Fixed crash when exiting process
This commit is contained in:
parent
1bc046669e
commit
9aab7fd741
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ AutoResetEvent::AutoResetEvent()
|
||||||
|
|
||||||
AutoResetEvent::~AutoResetEvent()
|
AutoResetEvent::~AutoResetEvent()
|
||||||
{
|
{
|
||||||
Signal();
|
//Can't signal here, seems to cause process crashes when this occurs while the
|
||||||
|
//application is exiting.
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoResetEvent::Wait(int timeoutDelay)
|
void AutoResetEvent::Wait(int timeoutDelay)
|
||||||
|
|
Loading…
Add table
Reference in a new issue