Remove the custom on_close event to keep the session alive

This commit is contained in:
R. Richard 2020-05-21 17:45:03 +02:00
parent 70f4d666e3
commit ea0fff5662

View File

@ -33,10 +33,6 @@ class TerminadoMiniServer:
def check_origin(self, origin): def check_origin(self, origin):
return True return True
def on_close(self):
self.term_manager.terminal = None
self.term_manager.get_terminal()
def listen(self): def listen(self):
self.application.listen(self.port) self.application.listen(self.port)