[jsonrpc-glib] client: make failure propagation lowest possible priority



commit d616ccdebb214c35561467ebc0a0cee4dc9b01a1
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 19 12:58:32 2018 -0800

    client: make failure propagation lowest possible priority

 src/jsonrpc-client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/jsonrpc-client.c b/src/jsonrpc-client.c
index 2868f80..9b8e4b5 100644
--- a/src/jsonrpc-client.c
+++ b/src/jsonrpc-client.c
@@ -271,7 +271,7 @@ jsonrpc_client_panic (JsonrpcClient *self,
   pd = g_slice_new0 (PanicData);
   pd->invocations = g_steal_pointer (&priv->invocations);
   pd->error = g_error_copy (error);
-  g_idle_add_full (G_PRIORITY_LOW, error_invocations_from_idle, pd, NULL);
+  g_idle_add_full (G_MAXINT, error_invocations_from_idle, pd, NULL);
 
   /* Keep a hashtable around for code that expects a pointer there */
   priv->invocations = g_hash_table_new_full (NULL, NULL, NULL, g_object_unref);


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