Jinjinov/Usb.Events

Monitor can stop monitoring if signal interrupts select call on Linux

maskimthedog opened this issue · 1 comments

In UsbEventWatcher.Linux.c MonitorDevices() can bail out of the while(1) loop even if select() is only interrupted by a signal with errno set to EINTR. Also, if MonitorDevice() exits the loop it is not restarted unless I am missing something.

Fixed with e6041bb