diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-18 19:37:14 (GMT) |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-21 13:53:01 (GMT) |
commit | 1e8d128492cda7284fb61f3f0cb99588bf8f9fd8 (patch) | |
tree | 3e7cb162a8e4ecc335fbb5545233b087c8c55fb3 /src | |
parent | 8437746494e6d414314f03a0b815dcf0b191ce4d (diff) | |
download | soup-transcoding-proxy-1e8d128492cda7284fb61f3f0cb99588bf8f9fd8.zip soup-transcoding-proxy-1e8d128492cda7284fb61f3f0cb99588bf8f9fd8.tar.gz |
server: Free server context with low priority
This allows functions that might use it to dispatch beforehand
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -60,7 +60,7 @@ stp_on_gst_bus_message (GstBus *bus, soup_message_set_status (ctx->msg, SOUP_STATUS_INTERNAL_SERVER_ERROR); /* Cleanup in the default main context, * because GHashTable is not thread-safe */ - g_main_context_invoke_full (NULL, G_PRIORITY_HIGH, + g_main_context_invoke_full (NULL, G_PRIORITY_LOW, (GSourceFunc)invoke_g_hash_table_remove, ctx, NULL); break; @@ -68,7 +68,7 @@ stp_on_gst_bus_message (GstBus *bus, g_debug ("End of file"); /* Cleanup in the default main context, * because GHashTable is not thread-safe */ - g_main_context_invoke_full (NULL, G_PRIORITY_HIGH, + g_main_context_invoke_full (NULL, G_PRIORITY_LOW, (GSourceFunc)invoke_g_hash_table_remove, ctx, NULL); break; |