[gnome-builder/wip/chergert/debugger: 49/85] mi2: cancel tasks early



commit 75c89d4adedea700e1f973b2c5aca185c843bd3f
Author: Christian Hergert <chergert redhat com>
Date:   Sat Mar 25 15:48:25 2017 -0700

    mi2: cancel tasks early
    
    We want to get these out of the queue as soon as possible.

 contrib/mi2/mi2-client.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/contrib/mi2/mi2-client.c b/contrib/mi2/mi2-client.c
index 4749e29..412404c 100644
--- a/contrib/mi2/mi2-client.c
+++ b/contrib/mi2/mi2-client.c
@@ -566,6 +566,7 @@ mi2_client_stop_listening (Mi2Client *self)
   if (priv->is_listening)
     {
       priv->is_listening = FALSE;
+      mi2_client_cancel_all_tasks (self);
       g_cancellable_cancel (priv->read_loop_cancellable);
     }
 }


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