Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch OSError when stopping inotify emitter multiple times #760

Merged

Conversation

samschott
Copy link
Contributor

Fixes #758 by allowing an InotifyEmitter.stop() to be called when the emitter is already stopped. This brings the inotify backend in line with other backends.

@samschott samschott changed the title Fix OSError when stopping inotify emitter multiple times Catch OSError when stopping inotify emitter multiple times Feb 7, 2021
@BoboTiG BoboTiG merged commit 16d9010 into gorakhargosh:master Feb 8, 2021
@BoboTiG
Copy link
Collaborator

BoboTiG commented Feb 8, 2021

Thanks @samschott 💪

@samschott samschott deleted the inotify-oserror-when-stopping-twice branch February 8, 2021 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linux Bad File Descriptor when watched directory is removed
2 participants