Loading ccnode/node.py +4 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,9 @@ class AuthHandler(object): def start(self): self.watcher.start() def stop(self): self.watcher.stop() class MainLoop(object): def __init__(self, config_path): Loading Loading @@ -266,6 +269,7 @@ class MainLoop(object): def stop(self, watcher=None, revents=None): logger.info('Exiting node...') self.auth.stop() # close rpc if self.rpc_con is not None: self.rpc_con.shutdown() Loading Loading
ccnode/node.py +4 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,9 @@ class AuthHandler(object): def start(self): self.watcher.start() def stop(self): self.watcher.stop() class MainLoop(object): def __init__(self, config_path): Loading Loading @@ -266,6 +269,7 @@ class MainLoop(object): def stop(self, watcher=None, revents=None): logger.info('Exiting node...') self.auth.stop() # close rpc if self.rpc_con is not None: self.rpc_con.shutdown() Loading