[gnome-builder] threading: hold source object until dispose
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] threading: hold source object until dispose
- Date: Thu, 18 Jul 2019 00:34:15 +0000 (UTC)
commit d6533112b592a382a4a3d7b0e4f78780aae46739
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 17 17:31:37 2019 -0700
threading: hold source object until dispose
src/libide/threading/ide-flatpak-subprocess.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libide/threading/ide-flatpak-subprocess.c b/src/libide/threading/ide-flatpak-subprocess.c
index 440a90f38..619e52107 100644
--- a/src/libide/threading/ide-flatpak-subprocess.c
+++ b/src/libide/threading/ide-flatpak-subprocess.c
@@ -751,6 +751,7 @@ ide_flatpak_subprocess_communicate_internal (IdeFlatpakSubprocess *subprocess,
task = ide_task_new (subprocess, cancellable, callback, user_data);
ide_task_set_source_tag (task, ide_flatpak_subprocess_communicate_internal);
ide_task_set_priority (task, G_PRIORITY_DEFAULT_IDLE);
+ ide_task_set_release_on_propagate (task, FALSE);
state = g_slice_new0 (CommunicateState);
ide_task_set_task_data (task, state, ide_subprocess_communicate_state_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]