[gnome-builder/wip/chergert/debugger: 47/58] mi2: cancel tasks early
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/debugger: 47/58] mi2: cancel tasks early
- Date: Sun, 26 Mar 2017 07:25:18 +0000 (UTC)
commit 2bc8afa493d5b7419f2dbce940c117b7aec6b398
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]