Commit ef59d2d1 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winebus.sys: Don't do anything in udev_driver_unload if udev was not initialized.

parent eabb3d44
......@@ -1488,6 +1488,9 @@ void udev_driver_unload( void )
{
TRACE("Unload Driver\n");
if (!deviceloop_handle)
return;
write(deviceloop_control[1], "q", 1);
WaitForSingleObject(deviceloop_handle, INFINITE);
close(deviceloop_control[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment