Exemple #1
0
 def stop(self):
     """
     Shut the plugin down.  Items which have been queued for
     deferred execution will be abandoned, as will any which have
     been queued to the worker thread but not yet started.  Waits
     until any items which have been started complete.  There's no
     built-in way to tell which items are completed and which are
     abandoned, but it's not particularly difficult to do something
     from the work items.
     """
     for timer in self.timers.values():
         timer.cancel()
     AsynchronousExecutePlugin.stop(self)
Exemple #2
0
 def stop(self):
     for timer in self.timers.values():
         timer.cancel()
     AsynchronousExecutePlugin.stop(self)