Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flush all events before polling for read
Once the udev socket becomes readable multiple events might be pulled of. So all of them should be drained before polling for socket readability again Fixes: jeandudey#17 Signed-off-by: Sjoerd Simons <[email protected]>
- Loading branch information