MCPcopy Create free account
hub / github.com/101dotxyz/GPTeam / close

Method close

src/utils/logging.py:65–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 atexit.register(self.close)
64
65 def close(self):
66 self.acquire()
67 try:
68 if not self.closed_properly:
69 self.stream.write("]")
70 self.closed_properly = True
71 super().close()
72 finally:
73 self.release()
74
75 def emit(self, record):
76 if self.stream.tell() > 1:

Callers 5

run_world_asyncFunction · 0.45
run_in_new_loopFunction · 0.45
_callMethod · 0.45
init_loggingFunction · 0.45
close_rest_appFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected