fix: deadlock between session and web mutexes (#3251)
Fixes #3242. Introduced by #2693.
This commit is contained in:
parent
7269db2d45
commit
adc105ed2c
|
@ -465,10 +465,10 @@ private:
|
|||
curl_multi_add_handle(multi.get(), task->easy());
|
||||
}
|
||||
impl->queued_tasks.clear();
|
||||
|
||||
impl->resumePausedTasks();
|
||||
}
|
||||
|
||||
impl->resumePausedTasks();
|
||||
|
||||
// Adapted from https://curl.se/libcurl/c/curl_multi_wait.html docs.
|
||||
// 'numfds' being zero means either a timeout or no file descriptors to
|
||||
// wait for. Try timeout on first occurrence, then assume no file
|
||||
|
|
Loading…
Reference in New Issue