diff --git a/gio/gthreadedresolver.c b/gio/gthreadedresolver.c index c1ddd02d9..5a820bed8 100644 --- a/gio/gthreadedresolver.c +++ b/gio/gthreadedresolver.c @@ -316,7 +316,7 @@ resolve_sync (GThreadedResolver *gtr, GThreadedResolverRequest *req, GError **error) { - if (!req->cancellable || !gtr->thread_pool) + if (!req->cancellable) { req->resolve_func (req, error); g_mutex_unlock (&req->mutex);