Exemple #1
0
 def deactivate(self):
     try:
         get_notification_center().disconnectPeerAppended(self.peer_update)
         get_notification_center().disconnectPeerUpdated(self.peer_update)
     except:
         self.logger.warning("Problem while disconnecting signals", exc_info=1)
     iface_called_plugin.deactivate(self)    
Exemple #2
0
 def deactivate(self):
     with self.timerRestartLock:
         self.stop = True
         if self.timer:
             self.timer.cancel() 
             self.timer = None
     iface_called_plugin.deactivate(self)
Exemple #3
0
 def deactivate(self):
     iface_called_plugin.deactivate(self)
Exemple #4
0
 def deactivate(self): 
     # if we are checking right now, finish checking first
     with self.lock:
         if self.timer:
             self.timer.cancel()       
     iface_called_plugin.deactivate(self)
Exemple #5
0
 def deactivate(self):
     if self.s_thread:
         self.logger.info("Stopping Raspicam HTTP Server")
         self.s_thread.stop_server()
         self.s_thread.join()
     iface_called_plugin.deactivate(self)