about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-07-04 19:08:38 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-07-04 19:08:38 +0300
commitffce20cdf3f4e9a63ce9c8f15e104079c2888f56 (patch)
tree67cb409ee31008c3c780f11870084173120ba3c5
parentf0793cd8ad7855f1c45725f3ef7df31ef5fdd9eb (diff)
downloadfungus-launcher-ffce20cdf3f4e9a63ce9c8f15e104079c2888f56.tar.gz
fungus-launcher-ffce20cdf3f4e9a63ce9c8f15e104079c2888f56.tar.xz
prevent yet another possible hanging of runner
-rw-r--r--fungus/run_manager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fungus/run_manager.py b/fungus/run_manager.py
index 3c4bd2a..7f1101d 100644
--- a/fungus/run_manager.py
+++ b/fungus/run_manager.py
@@ -130,6 +130,8 @@ def handle_command(
             GLib.idle_add(s.show_error, exit_code, error_output)
         else:
             log.warning("Splash unavailable for error display (exit_code=%d)", exit_code)
+            # Splash was already destroyed — quit GTK so the app doesn't hang.
+            GLib.idle_add(Gtk.main_quit)
 
     def on_sandbox_warning(exec_path: str, valid_dirs: list[str]) -> None:
         GLib.idle_add(SandboxWarningDialog, exec_path, valid_dirs)