MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / doShutdown

Function doShutdown

src/bitmessagecurses/__init__.py:1051–1059  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1049 handlech(stdscr.getch(), stdscr)
1050
1051def doShutdown():
1052 sys.stdout = sys.__stdout__
1053 print("Shutting down...")
1054 sys.stdout = printlog
1055 shutdown.doCleanShutdown()
1056 sys.stdout = sys.__stdout__
1057 sys.stderr = sys.__stderr__
1058
1059 os._exit(0)

Callers 1

runwrapperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected