MCPcopy Create free account
hub / github.com/ARM-software/AVH / closeServer

Method closeServer

interface/video/python/vsi_video.py:103–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 self.conn.send_bytes(data)
102
103 def closeServer(self):
104 try:
105 if isinstance(self.conn, Connection):
106 self.conn.send([self.CLOSE_SERVER])
107 self.conn.close()
108 except Exception as e:
109 logger.error(f'Exception occurred on cleanup: {e}')
110
111
112# User registers

Callers 1

cleanupFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected