https://bugs.winehq.org/show_bug.cgi?id=54411
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Version|unspecified |8.0
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- Yes, it's a race condition. The device is deleted on IoDeleteDevice(), which causes further server calls to return STATUS_FILE_DELETED in the server, but sometimes that ioctl makes it through before we hit IoDeleteDevice(). The correct thing to do is not delete the device until the last reference is released, and not force calls to return STATUS_FILE_DELETED. Ideally we should fix the code, although it's a bit tricky, because the refcounting is currently kind of backwards in the server.