mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
gthreadedresolver: remove a bit of cruft
Remove a test that only made sense when GThreadedResolver was the base class for the two non-threaded resolver classes that no longer exist.
This commit is contained in:
parent
0e3f530185
commit
2f48b4b7fb
@ -316,7 +316,7 @@ resolve_sync (GThreadedResolver *gtr,
|
|||||||
GThreadedResolverRequest *req,
|
GThreadedResolverRequest *req,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
if (!req->cancellable || !gtr->thread_pool)
|
if (!req->cancellable)
|
||||||
{
|
{
|
||||||
req->resolve_func (req, error);
|
req->resolve_func (req, error);
|
||||||
g_mutex_unlock (&req->mutex);
|
g_mutex_unlock (&req->mutex);
|
||||||
|
Loading…
Reference in New Issue
Block a user