Commit b26280fa authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

[filewatchservice] Fixed a bug with calling close() on a FSMonitor instance...

[filewatchservice] Fixed a bug with calling close() on a FSMonitor instance which does not necessarily has this method, now using del instead.
parent 48cef2b1
......@@ -576,7 +576,7 @@ class FileSystem(object):
#first: remove the old watch
self.unwatch(window_id, view_id, watch_id)
self.watchservice.subscribe(
(window_id,
view_id,
......@@ -740,7 +740,7 @@ class WatchService(object):
subscriber.destroy()
self.monitor.remove_all_watches()
self.monitor.close()
del self.monitor
class WatchSubscriber(object): # this should never be instanced manually
......
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