def stop(self): try: ActiveProxyAbstractClass.stop(self) if self._line_handler is not None: if self.is_bound_proxy(): self._line_handler.unregister_bound_proxy(self) else: self._line_handler.unregister_subscribed_proxy(self) except: msglog.exception() CompositeNode.stop(self) return