Merge branch 'dk_dwnldr_merge'

This commit is contained in:
David Kocik 2023-01-18 11:10:10 +01:00
commit 01d5b424c3

View File

@ -163,6 +163,8 @@ void FileGet::priv::get_perform()
m_stopped = true;
fclose(file);
cancel = true;
if (m_written == 0)
std::remove(m_tmp_path.string().c_str());
wxCommandEvent* evt = new wxCommandEvent(EVT_DWNLDR_FILE_PAUSED);
evt->SetInt(m_id);
m_evt_handler->QueueEvent(evt);