mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 05:32:31 +00:00
Fixed curl stack shutdown with active downloads. (#1338)
Fixed curl stack shutdown with active downloads.
This commit is contained in:
@@ -67,6 +67,9 @@ CurlGet::start() {
|
||||
if (m_stream == NULL)
|
||||
throw torrent::internal_error("Tried to call CurlGet::start without a valid output stream.");
|
||||
|
||||
if (!m_stack->is_running())
|
||||
return;
|
||||
|
||||
m_handle = curl_easy_init();
|
||||
|
||||
if (m_handle == NULL)
|
||||
|
||||
Reference in New Issue
Block a user