Commit ca1c1737 by rfkelly0

watch_inotify: sometimes process_notifications will raise OSError; ignore it.

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