mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-13 18:04:32 +00:00
HTTPDownloaderCurl: Fix crash in worker thread
This commit is contained in:
@@ -193,7 +193,8 @@ void HTTPDownloaderCurl::WorkerThreadEntryPoint()
|
||||
ProcessQueuedActions();
|
||||
|
||||
// Perform curl operations
|
||||
err = curl_multi_perform(m_multi_handle, nullptr);
|
||||
int running_handles;
|
||||
err = curl_multi_perform(m_multi_handle, &running_handles);
|
||||
if (err != CURLM_OK)
|
||||
ERROR_LOG("curl_multi_perform() returned {}", static_cast<int>(err));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user