MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / disconnect

Method disconnect

windows/alpc.py:531–535  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

529 return msg
530
531 def disconnect(self):
532 if self.handle:
533 self._close_port(self.handle)
534 for com_port_handle in self.communication_port_list:
535 self._close_port(com_port_handle)
536
537 # TODO: add an API to close a communication port ?
538

Callers 1

__del__Method · 0.95

Calls 1

_close_portMethod · 0.80

Tested by

no test coverage detected