fixes #188 - remove session on delete
This commit is contained in:
parent
4e6ec1a474
commit
f8ec15f620
1 changed files with 2 additions and 2 deletions
|
@ -1643,8 +1643,8 @@ class CoreHandler(SocketServer.BaseRequestHandler):
|
||||||
self.send_objects()
|
self.send_objects()
|
||||||
elif message.flags & MessageFlags.DELETE.value:
|
elif message.flags & MessageFlags.DELETE.value:
|
||||||
# shut down the specified session(s)
|
# shut down the specified session(s)
|
||||||
logger.info("request to terminate session %s" % session_id)
|
logger.info("request to terminate session %s", session_id)
|
||||||
session.shutdown()
|
self.coreemu.delete_session(session_id)
|
||||||
else:
|
else:
|
||||||
logger.warn("unhandled session flags for session %s", session_id)
|
logger.warn("unhandled session flags for session %s", session_id)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue