Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the stop flag is set before starting a wait, break out of the loop. With the move closing the FANOTIFY fd, we need to check the flag or this thread can wait for an event that will never come since fanotofy was just unmarked.
- Loading branch information