[gnome-builder/wip/gtk4-port: 1599/1774] 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: 1599/1774] plugins/flatpak: ensure child process ends with parent
- Date: Mon, 11 Jul 2022 22:31:51 +0000 (UTC)
commit 37330473a522d806513943cd68f5f8f2aca0bd7d
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]