Commit ca1c1737 by rfkelly0

watch_inotify: sometimes process_notifications will raise OSError; ignore it.

parent a10cd72e
......@@ -252,7 +252,10 @@ class SharedThreadedNotifier(threading.Thread):
pass
else:
notifier.read_events()
notifier.process_events()
try:
notifier.process_events()
except EnvironmentError:
pass
def stop(self):
if self.running:
......
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