mirror of
https://github.com/nefarius/ViGEmBus.git
synced 2025-08-10 00:52:17 +00:00
Fixed crash on destructing NotificationRequestPool
This commit is contained in:
@@ -107,6 +107,13 @@ void NotificationRequestPool::operator()()
|
||||
continue;
|
||||
}
|
||||
|
||||
// handles are closed...?
|
||||
if (ret == WAIT_FAILED)
|
||||
{
|
||||
// exits function (terminates thread)
|
||||
break;
|
||||
}
|
||||
|
||||
// index of the request which just got completed
|
||||
const auto index = ret - WAIT_OBJECT_0;
|
||||
// grab associated request
|
||||
|
||||
Reference in New Issue
Block a user