Ejemplo n.º 1
0
 def stop(self):
     if self.event is None:
         _fsevents.stop(self)
     else:
         event = self.event
         self.event = None
         event.set()
Ejemplo n.º 2
0
 def on_thread_stop(self):
     if self.watch:
         _fsevents.remove_watch(self.watch)
         _fsevents.stop(self)
         self._watch = None
Ejemplo n.º 3
0
 def on_thread_stop(self):
     _fsevents.remove_watch(self.watch)
     _fsevents.stop(self)
Ejemplo n.º 4
0
 def on_thread_stop(self):
     _fsevents.remove_watch(self.watch)
     _fsevents.stop(self)
Ejemplo n.º 5
0
 def on_thread_stop(self):
     if self.watch:
         _fsevents.remove_watch(self.watch)
         _fsevents.stop(self)
         self._watch = None