summaryrefslogtreecommitdiff
path: root/libsoup
diff options
context:
space:
mode:
Diffstat (limited to 'libsoup')
-rw-r--r--libsoup/soup-session.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index e61255b4..ba74b1dc 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -235,6 +235,9 @@ soup_session_add_queue_source_for_item (SoupSession *session,
{
SoupSessionPrivate *priv = soup_session_get_instance_private (session);
+ if (!item->async)
+ return;
+
if (item->context == priv->context)
return;
@@ -267,6 +270,9 @@ soup_session_remove_queue_source_for_item (SoupSession *session,
{
SoupSessionPrivate *priv = soup_session_get_instance_private (session);
+ if (!item->async)
+ return;
+
if (item->context == priv->context)
return;