MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / close

Method close

optimizations/pflash/pflash/dflash_client.py:277–285  ·  view source on GitHub ↗
(self, timeout: float = 5.0)

Source from the content-addressed store, hash-verified

275 return toks
276
277 def close(self, timeout: float = 5.0):
278 try:
279 self.proc.stdin.close()
280 except Exception:
281 pass
282 try:
283 self.proc.wait(timeout=timeout)
284 except subprocess.TimeoutExpired:
285 self.proc.kill()

Callers 2

mainFunction · 0.95
__init__Method · 0.45

Calls 1

killMethod · 0.80

Tested by

no test coverage detected