mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 11:37:56 -04:00
Taking advantage of kiwix/libkiwix#1097
This commit is contained in:
parent
b5b089f9a6
commit
373b0140a2
@ -131,12 +131,6 @@ KiwixApp::~KiwixApp()
|
||||
{
|
||||
m_server.stop();
|
||||
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;
|
||||
}
|
||||
if (mp_manager) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user