mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 11:43:56 +00:00
Properly reset completion event
This commit is contained in:
@@ -441,6 +441,11 @@ namespace syscalls
|
||||
return STATUS_INVALID_HANDLE;
|
||||
}
|
||||
|
||||
if (auto* e = c.win_emu.process.events.get(event))
|
||||
{
|
||||
e->signaled = false;
|
||||
}
|
||||
|
||||
io_device_context context{c.emu};
|
||||
context.event = event;
|
||||
context.apc_routine = apc_routine;
|
||||
|
||||
Reference in New Issue
Block a user