MCPcopy Index your code
hub / github.com/rawpython/remi / on_close

Method on_close

remi/server.py:750–755  ·  view source on GitHub ↗

Called by the server when the App have to be terminated

(self)

Source from the content-addressed store, hash-verified

748 self.server.server_starter_instance.stop()
749
750 def on_close(self):
751 """ Called by the server when the App have to be terminated
752 """
753 self._stop_update_flag = True
754 for ws in list(self.websockets):
755 ws.close()
756
757 def onload(self, emitter):
758 """ WebPage Event that occurs on webpage loaded

Callers 15

tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by 15

tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36