MCPcopy Create free account
hub / github.com/RawdogReverend/TermNet / stop_server

Method stop_server

backend/termnet/main.py:219–225  ·  view source on GitHub ↗

Stop the server and clean up

(self)

Source from the content-addressed store, hash-verified

217 pass
218
219 async def stop_server(self):
220 """Stop the server and clean up"""
221 try:
222 if self.term:
223 await self.term.stop()
224 except:
225 pass
226
227async def main():
228 """Main function to run the WebSocket server"""

Callers 1

mainFunction · 0.95

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected