mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-22 19:23:31 +00:00
Fixed bug where HANDLE removal doesn't dequeue a task
This commit is contained in:
@@ -853,7 +853,7 @@ void ILibDuktape_HECI_IoctlHandler_Dispatch(void *chain, void *user)
|
||||
void ILibDuktape_HECI_NextIoctl(ILibQueue q);
|
||||
BOOL ILibDuktape_HECI_IoctlHandler(HANDLE h, ILibWaitHandle_ErrorStatus errors, void *user)
|
||||
{
|
||||
if (errors == ILibWaitHandle_ErrorStatus_INVALID_HANDLE) { return(FALSE); }
|
||||
if (errors == ILibWaitHandle_ErrorStatus_INVALID_HANDLE || errors == ILibWaitHandle_ErrorStatus_REMOVED) { return(FALSE); }
|
||||
if (!ILibMemory_CanaryOK(user)) { return(FALSE); }
|
||||
|
||||
ILibDuktape_HECI_ioctl_data *data = (ILibDuktape_HECI_ioctl_data*)user;
|
||||
|
||||
Reference in New Issue
Block a user