Merge branch '0.10' into 0.11

pull/2022/head
sebres 7 years ago
commit 0a4a76c4c4

@ -374,8 +374,11 @@ class FilterPyinotify(FileFilter):
def stop(self): def stop(self):
# stop filter thread: # stop filter thread:
super(FilterPyinotify, self).stop() super(FilterPyinotify, self).stop()
if self.__notifier: # stop the notifier try:
self.__notifier.stop() if self.__notifier: # stop the notifier
self.__notifier.stop()
except AttributeError: # pragma: no cover
if self.__notifier: raise
## ##
# Wait for exit with cleanup. # Wait for exit with cleanup.

Loading…
Cancel
Save