MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / _exit

Function _exit

imperative/python/megengine/__init__.py:38–40  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

36
37
38def _exit(code):
39 _run_exit_handlers()
40 sys.exit(code)
41
42
43def _atexit(handler):

Callers 2

_run_wrappedFunction · 0.85
handler_SIGTERMFunction · 0.85

Calls 2

_run_exit_handlersFunction · 0.85
exitMethod · 0.45

Tested by

no test coverage detected