MCPcopy Create free account
hub / github.com/LabPy/lantz / finalize

Method finalize

lantz/drivers/legacy/vxi11.py:320–325  ·  view source on GitHub ↗

Close connection

(self)

Source from the content-addressed store, hash-verified

318 self.RECV_CHUNK = max_recv_size
319
320 def finalize(self):
321 """Close connection
322 """
323 self.client.destroy_link(self.link)
324 self.client.close()
325 super().finalize()
326
327 def write_raw(self, data):
328 """Write binary data to instrument

Callers

nothing calls this directly

Calls 2

destroy_linkMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected