MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cleanup

Method cleanup

tests/test_daemon_smoke.py:440–452  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

438 return ""
439
440 def cleanup(self):
441 self.close_input()
442 try:
443 self.process.wait(timeout=8)
444 except subprocess.TimeoutExpired:
445 self.process.terminate()
446 try:
447 self.process.wait(timeout=3)
448 except subprocess.TimeoutExpired:
449 self.process.kill()
450 self.process.wait(timeout=3)
451 self.reader.join(timeout=1)
452 self.stderr_stream.close()
453
454
455def assert_rpc_success(response, label):

Callers 1

mainFunction · 0.80

Calls 3

close_inputMethod · 0.95
waitMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected