mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
fix: deadlock between session and web mutexes (#3251)
Fixes #3242. Introduced by #2693.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user