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

This commit is contained in:
Eugene Sandulenko 2021-11-20 00:16:31 +01:00
parent 92ec44b6ab
commit b51ed2cf01
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

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;