MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / cleanupExit

Function cleanupExit

python/pythonmonkey/cli/pmjs.py:397–399  ·  view source on GitHub ↗
(code=0)

Source from the content-addressed store, hash-verified

395 loop.set_exception_handler(exceptionHandler)
396
397 def cleanupExit(code=0):
398 pm.stop()
399 realExit(code)
400 realExit = globalThis.python.exit
401 globalThis.python.exit = cleanupExit
402

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected