GUI: Abort session when user requests to do so in the Icon updater

This commit is contained in:
Eugene Sandulenko
2021-11-20 00:55:44 +01:00
parent 92ec44b6ab
commit b51ed2cf01
+1 -1
View File
@@ -196,7 +196,7 @@ void DownloadIconsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
switch (cmd) {
case kDownloadCancelCmd:
{
g_state->session.close();
g_state->session.abortRequest();
delete g_state;
g_state = nullptr;