GUI: Abort session when user requests to do so in the Icon updater
This commit is contained in:
parent
92ec44b6ab
commit
b51ed2cf01
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue