Exemplo n.º 1
0
 def shutdown(self):
     logging.info("Shutting down video conversions manager")
     conversions.conversion_manager.shutdown()
     logging.info("Shutting down Downloader...")
     downloader.shutdown_downloader(self.downloader_shutdown)
     try:
         logging.info("Shutting down worker process.")
         workerprocess.shutdown()
         if app.device_manager is not None:
             logging.info("Shutting down device manager")
             app.device_manager.shutdown()
         if app.sharing_manager is not None:
             logging.info("Shutting down Sharing Manager")
             app.sharing_manager.shutdown()
         if app.sharing_tracker is not None:
             logging.info("Shutting down Sharing Tracker")
             app.sharing_tracker.stop_tracking()
     except StandardError:
         signals.system.failed_exn("while shutting down")
Exemplo n.º 2
0
 def shutdown(self):
     logging.info("Shutting down video conversions manager")
     conversions.conversion_manager.shutdown()
     logging.info("Shutting down Downloader...")
     downloader.shutdown_downloader(self.downloader_shutdown)
     try:
         logging.info("Shutting down worker process.")
         workerprocess.shutdown()
         if app.device_manager is not None:
             logging.info("Shutting down device manager")
             app.device_manager.shutdown()
         if app.sharing_manager is not None:
             logging.info("Shutting down Sharing Manager")
             app.sharing_manager.shutdown()
         if app.sharing_tracker is not None:
             logging.info("Shutting down Sharing Tracker")
             app.sharing_tracker.stop_tracking()
     except StandardError:
         signals.system.failed_exn("while shutting down")
Exemplo n.º 3
0
 def tearDown(self):
     downloader.shutdown_downloader(eventloop.shutdown)
     self.runEventLoop()
     EventLoopTest.tearDown(self)
Exemplo n.º 4
0
 def tearDown(self):
     downloader.shutdown_downloader(eventloop.shutdown)
     self.runEventLoop()
     EventLoopTest.tearDown(self)
Exemplo n.º 5
0
 def shutdown(self):
     logging.info("Shutting down video conversions manager")
     conversions.conversion_manager.shutdown()
     logging.info("Shutting down Downloader...")
     downloader.shutdown_downloader(self.downloader_shutdown)
Exemplo n.º 6
0
 def tearDown(self):
     downloader.shutdown_downloader(
             lambda: self.stopEventLoop(abnormal=False))
     self.runEventLoop()
     downloader.daemon_starter = None
     EventLoopTest.tearDown(self)
Exemplo n.º 7
0
 def tearDown(self):
     downloader.shutdown_downloader(
             lambda: self.stopEventLoop(abnormal=False))
     self.runEventLoop()
     downloader.daemon_starter = None
     EventLoopTest.tearDown(self)