[gnome-builder] foundry: store sequence number after successful build
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] foundry: store sequence number after successful build
- Date: Fri, 6 Aug 2021 14:16:18 +0000 (UTC)
commit 17a3b320ebe814ba19a0a945cc8892154835a708
Author: Christian Hergert <chergert redhat com>
Date: Fri Aug 6 07:15:57 2021 -0700
foundry: store sequence number after successful build
Fixes #1491
src/libide/foundry/ide-run-manager.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-run-manager.c b/src/libide/foundry/ide-run-manager.c
index af4f71fca..c70b16170 100644
--- a/src/libide/foundry/ide-run-manager.c
+++ b/src/libide/foundry/ide-run-manager.c
@@ -59,6 +59,7 @@ struct _IdeRunManager
* secondary execution time faster.
*/
guint64 last_change_seq;
+ guint64 pending_last_change_seq;
guint busy : 1;
};
@@ -728,6 +729,8 @@ ide_run_manager_install_cb (GObject *object,
IDE_EXIT;
}
+ self->last_change_seq = self->pending_last_change_seq;
+
build_target = ide_run_manager_get_build_target (self);
if (build_target == NULL)
@@ -820,7 +823,7 @@ ide_run_manager_do_install_before_run (IdeRunManager *self,
IDE_EXIT;
}
- self->last_change_seq = sequence;
+ self->pending_last_change_seq = sequence;
ide_build_manager_build_async (build_manager,
IDE_PIPELINE_PHASE_INSTALL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]