uridownloader: Reset cancelled state after fetching an URI
Otherwise it will never ever be able to fetch anything after an error until the user resets it manually.
This commit is contained in:
parent
591598da48
commit
3726c00b95
@ -478,9 +478,12 @@ quit:
|
||||
"Failed to download '%s'", uri);
|
||||
} else {
|
||||
g_propagate_error (err, downloader->priv->err);
|
||||
downloader->priv->err = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
downloader->priv->cancelled = FALSE;
|
||||
|
||||
g_mutex_unlock (&downloader->priv->download_lock);
|
||||
return download;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user