[gnome-builder] subprocess: additional tracing



commit 6dfeebd982d94cadb2c0602031899d02aad27f54
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 13 18:15:00 2016 -0700

    subprocess: additional tracing

 libide/subprocess/ide-subprocess-launcher.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libide/subprocess/ide-subprocess-launcher.c b/libide/subprocess/ide-subprocess-launcher.c
index ae8354b..98173bb 100644
--- a/libide/subprocess/ide-subprocess-launcher.c
+++ b/libide/subprocess/ide-subprocess-launcher.c
@@ -223,6 +223,8 @@ ide_subprocess_launcher_spawn_worker (GTask        *task,
   g_autoptr(IdeSubprocess) wrapped = NULL;
   g_autoptr(GError) error = NULL;
 
+  IDE_ENTRY;
+
   g_return_if_fail (IDE_IS_SUBPROCESS_LAUNCHER (self));
 
 #ifdef IDE_ENABLE_TRACE
@@ -247,7 +249,7 @@ ide_subprocess_launcher_spawn_worker (GTask        *task,
   if (real == NULL)
     {
       g_task_return_error (task, g_steal_pointer (&error));
-      return;
+      IDE_EXIT;
     }
 
   if (cancellable != NULL)
@@ -262,6 +264,8 @@ ide_subprocess_launcher_spawn_worker (GTask        *task,
   wrapped = ide_simple_subprocess_new (real);
 
   g_task_return_pointer (task, g_steal_pointer (&wrapped), g_object_unref);
+
+  IDE_EXIT;
 }
 
 static IdeSubprocess *


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