[gnome-builder/wip/chergert/debugger: 46/46] mi2: test stop_listening() for failures
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/debugger: 46/46] mi2: test stop_listening() for failures
- Date: Sat, 25 Mar 2017 22:42:32 +0000 (UTC)
commit f00497b6f59842598efc62827e4248799cb4ce24
Author: Christian Hergert <chergert redhat com>
Date: Sat Mar 25 15:37:53 2017 -0700
mi2: test stop_listening() for failures
contrib/mi2/test-client.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/contrib/mi2/test-client.c b/contrib/mi2/test-client.c
index 0656b86..2bc9354 100644
--- a/contrib/mi2/test-client.c
+++ b/contrib/mi2/test-client.c
@@ -221,7 +221,9 @@ on_breakpoint_removed (Mi2Client *client,
{
g_print ("breakpoint removed: %d\n", breakpoint_id);
- g_main_loop_quit (main_loop);
+ mi2_client_stop_listening (client);
+
+ g_timeout_add (100, (GSourceFunc)g_main_loop_quit, main_loop);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]