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