MCPcopy
hub / github.com/freedomofpress/dangerzone / exit

Method exit

dangerzone/gui/main_window.py:522–524  ·  view source on GitHub ↗
(self, ret: int)

Source from the content-addressed store, hash-verified

520 self.show()
521
522 def exit(self, ret: int) -> None:
523 log.debug(f"Shutting down Dangerzone with exit code {ret}")
524 self.dangerzone.app.exit(ret)
525
526 def begin_shutdown(self, ret: int) -> None:
527 log.debug(f"Starting the shutdown process with exit code {ret}")

Callers 15

begin_shutdownMethod · 0.95
finish_shutdownMethod · 0.95
clean_promptFunction · 0.80
wrapperFunction · 0.80
runFunction · 0.80
check_suspicious_optionsFunction · 0.80
runFunction · 0.80
ensure_up_to_dateMethod · 0.80
parse_argsFunction · 0.80
qa.pyFile · 0.80
sign-assets.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected