This commit is contained in:
Veloman Yunkan 2024-06-30 12:48:39 +04:00 committed by Kelson
parent b5b089f9a6
commit 373b0140a2

View File

@ -131,12 +131,6 @@ KiwixApp::~KiwixApp()
{ {
m_server.stop(); m_server.stop();
if (mp_downloader) { if (mp_downloader) {
try {
mp_downloader->close();
} catch (const std::exception& err) {
std::cerr << "ERROR: Failed to save the downloader state: "
<< err.what() << std::endl;
}
delete mp_downloader; delete mp_downloader;
} }
if (mp_manager) { if (mp_manager) {