Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/44'
Browse files Browse the repository at this point in the history
* origin/pr/44:
  policy/utils: fix pyinotify cleanup
  • Loading branch information
marmarek committed Apr 1, 2020
2 parents 8ffe427 + 817f9f0 commit 4a21d3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qrexec/policy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,11 @@ def initialize_watcher(self):

def cleanup(self):
for wdd in self.watches:
self.watch_manager.rm_watch(wdd.values())
self.watch_manager.rm_watch(list(wdd.values()))
self.watches = []

self.notifier.stop()
if self.notifier is not None:
self.notifier.stop()
self.notifier = None
self.watch_manager = None

Expand Down

0 comments on commit 4a21d3a

Please sign in to comment.