Commit 49790646 authored by ibuler's avatar ibuler

[Bugfix] 普通用户无法记录命令

parent 2f0f58c8
......@@ -174,11 +174,10 @@ class ServerCommandRecorder(CommandRecorder, metaclass=Singleton):
thread.start()
def session_start(self, session_id):
print("When session {} start exec".format(session_id))
pass
def session_end(self, session_id):
self.stop_evt.set()
print("When session {} end start".format(session_id))
pass
def __del__(self):
print("{} has been gc".format(self))
......
......@@ -182,4 +182,4 @@ class Session:
return self.id
def __del__(self):
logger.info("Session {} object has been GC")
logger.info("Session {} object has been GC".format(self.id))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment