MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / _close_completely

Method _close_completely

gui/app.py:1758–1768  ·  view source on GitHub ↗

Close the application completely.

(self)

Source from the content-addressed store, hash-verified

1756 self._close_completely()
1757
1758 def _close_completely(self):
1759 """Close the application completely."""
1760 if self.running:
1761 if messagebox.askyesno(get_text("confirm_title"), get_text("exit_confirm")):
1762 self._stop()
1763 else:
1764 return
1765
1766 self._save_config()
1767 self.tray.stop()
1768 self.root.destroy()
1769
1770 def run(self):
1771 """Run the application."""

Callers 2

_bind_shortcutsMethod · 0.95
_minimize_to_trayMethod · 0.95

Calls 4

_stopMethod · 0.95
_save_configMethod · 0.95
get_textFunction · 0.85
stopMethod · 0.45

Tested by

no test coverage detected