MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / shutdown

Method shutdown

examples/run_aime_textgrad_experiment.py:137–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 return future.result()
136
137 def shutdown(self) -> None:
138 if self._closed:
139 return
140 self._loop.call_soon_threadsafe(self._loop.stop)
141 self._thread.join()
142 self._loop.close()
143 self._closed = True
144
145
146class ToolCallingAgentRunner:

Callers 5

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
closeMethod · 0.45

Calls 2

joinMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected