Merge branch '0.10' into 0.11

This commit is contained in:
sebres 2018-01-19 12:32:48 +01:00
commit 0a4a76c4c4

View file

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