[gnome-builder] pipeline: log before removing pipeline entry



commit be56234be91a7f3f3ccb63d4becd72f5014881f5
Author: Christian Hergert <chergert redhat com>
Date:   Mon Apr 16 23:29:31 2018 -0700

    pipeline: log before removing pipeline entry

 src/libide/buildsystem/ide-build-pipeline.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/buildsystem/ide-build-pipeline.c b/src/libide/buildsystem/ide-build-pipeline.c
index aa56c2411..73c89a323 100644
--- a/src/libide/buildsystem/ide-build-pipeline.c
+++ b/src/libide/buildsystem/ide-build-pipeline.c
@@ -1096,12 +1096,12 @@ ide_build_pipeline_load_cb (IdleLoadState *state)
       ide_build_pipeline_addin_load (addin, state->self);
       end = g_get_monotonic_time ();
 
-      g_ptr_array_remove_index (state->addins, state->addins->len - 1);
-
       g_debug ("%s loaded in %lf seconds",
                G_OBJECT_TYPE_NAME (addin),
                (end - begin) / (gdouble)G_USEC_PER_SEC);
 
+      g_ptr_array_remove_index (state->addins, state->addins->len - 1);
+
       if (state->addins->len > 0)
         return G_SOURCE_CONTINUE;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]