예제 #1
0
 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
예제 #2
0
파일: points.py 프로젝트: mcruse/monotone
 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