def stop(self):
     if self.event is None:
         _fsevents.stop(self)
     else:
         event = self.event
         self.event = None
         event.set()
Beispiel #2
0
 def stop(self):
     if self.event is None:
         stop(self)
     else:
         event = self.event
         self.event = None
         event.set()