[gnome-builder/wip/gtk4-port] plugins/flatpak: ensure child process ends with parent
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/flatpak: ensure child process ends with parent
- Date: Wed, 22 Jun 2022 19:42:38 +0000 (UTC)
commit a7ff17d297d6e95c69638f1333495d5d141146af
Author: Christian Hergert <chergert redhat com>
Date: Wed Jun 22 12:41:01 2022 -0700
plugins/flatpak: ensure child process ends with parent
Otherwise our stop signal will not actually stop anything.
src/plugins/flatpak/gbp-flatpak-runtime.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-runtime.c b/src/plugins/flatpak/gbp-flatpak-runtime.c
index d5065cfa8..f2570cf71 100644
--- a/src/plugins/flatpak/gbp-flatpak-runtime.c
+++ b/src/plugins/flatpak/gbp-flatpak-runtime.c
@@ -387,6 +387,7 @@ gbp_flatpak_runtime_handle_run_context_cb (IdeRunContext *run_context,
ide_run_context_append_argv (run_context, "build");
ide_run_context_append_argv (run_context, "--with-appdir");
ide_run_context_append_argv (run_context, "--allow=devel");
+ ide_run_context_append_argv (run_context, "--die-with-parent");
/* Make sure we have access to the document portal */
doc_portal_arg = g_strdup_printf ("--bind-mount=/run/user/%u/doc=/run/user/%u/doc/by-app/%s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]