[gnome-builder] tasks: avoid release-on-propagate in some situations
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] tasks: avoid release-on-propagate in some situations
- Date: Tue, 27 Mar 2018 07:11:09 +0000 (UTC)
commit 6793f18b5ebffe119ff5995efd2e4e8fb62bbfc2
Author: Christian Hergert <chergert redhat com>
Date: Tue Mar 27 00:10:59 2018 -0700
tasks: avoid release-on-propagate in some situations
src/libide/runtimes/ide-runtime-manager.c | 1 +
src/plugins/flatpak/gbp-flatpak-application-addin.c | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/src/libide/runtimes/ide-runtime-manager.c b/src/libide/runtimes/ide-runtime-manager.c
index 07b91fd5a..f1793890d 100644
--- a/src/libide/runtimes/ide-runtime-manager.c
+++ b/src/libide/runtimes/ide-runtime-manager.c
@@ -350,6 +350,7 @@ _ide_runtime_manager_prepare_async (IdeRuntimeManager *self,
task = ide_task_new (self, cancellable, callback, user_data);
ide_task_set_source_tag (task, _ide_runtime_manager_prepare_async);
ide_task_set_priority (task, G_PRIORITY_LOW);
+ ide_task_set_release_on_propagate (task, FALSE);
state = g_slice_new0 (PrepareState);
state->runtime_id = g_strdup (runtime_id);
diff --git a/src/plugins/flatpak/gbp-flatpak-application-addin.c
b/src/plugins/flatpak/gbp-flatpak-application-addin.c
index 2aeb70f38..095935e5b 100644
--- a/src/plugins/flatpak/gbp-flatpak-application-addin.c
+++ b/src/plugins/flatpak/gbp-flatpak-application-addin.c
@@ -1175,6 +1175,7 @@ gbp_flatpak_application_addin_locate_sdk_async (GbpFlatpakApplicationAddin *sel
task = ide_task_new (self, cancellable, callback, user_data);
ide_task_set_source_tag (task, gbp_flatpak_application_addin_locate_sdk_async);
+ ide_task_set_release_on_propagate (task, FALSE);
locate = g_slice_new0 (LocateSdk);
locate->id = g_strdup (runtime_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]