def stop(self): """Stop the bus """ self.stop_check() for bus in self.buses: self.buses[bus].stop() JNTBus.stop(self)
def stop(self): """Stop the bus """ #~ try: #~ self.mifare = None #~ except: #~ logger.exception("Exception when stopping NXP bus") JNTBus.stop(self)
def stop(self): """Stop the bus """ try: self.mifare = None except: logger.exception("Exception when stopping NXP bus") JNTBus.stop(self)
def stop(self): """Stop the bus """ JNTBus.stop(self) try: self.gpio.cleanup() except Exception: logger.exception("[%s] - Exception when stopping GPIO bus", self.__class__.__name__) self.gpio = None self.update_attrs('gpio', self.gpio)
def stop(self): """ """ JNTBus.stop(self) if self.camera is not None: try: self.camera.close() except Exception: logger.exception("[%s] - an't start component camera", self.__class__.__name__) self.camera = None self.update_attrs("camera", self.camera)
def stop(self, **kwargs): """Stop the bus """ if hasattr(self, "halt"): self.halt() if hasattr(self, "get_graph"): delattr(self, "get_graph") self._fsm_boot_lock.acquire() event = kwargs.get('event', threading.Event()) logger.info("[%s] - Stop the node manager with event %s", self.__class__.__name__, event) try: self.stop_boot_timer() finally: self._fsm_boot_lock.release() event.wait(0.25) self._fsm = None JNTBus.stop(self, **kwargs)
def stop(self): if self._server is not None: self._server.stop() self._server = None JNTBus.stop(self)
def stop(self): JNTBus.stop(self)
def stop(self): """Stop the bus """ for bus in self.buses: self.buses[bus].stop() JNTBus.stop(self)
def stop(self): """Stop the bus """ JNTBus.stop(self)
def stop(self): JNTBus.stop(self) if self.store is not None: self.store.stop() self.store = None