mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Handle all types of alerts on shutdown
There might be alerts already queued in buffer waiting to be handled at the time of pausing the session, so don't skip over them.
This commit is contained in:
parent
dcfd367ff8
commit
106adf135c
1 changed files with 2 additions and 1 deletions
|
@ -2916,8 +2916,9 @@ void SessionImpl::saveResumeData()
|
|||
|| (alertType == lt::save_resume_data_failed_alert::alert_type))
|
||||
{
|
||||
hasWantedAlert = true;
|
||||
handleAlert(a);
|
||||
}
|
||||
|
||||
handleAlert(a);
|
||||
}
|
||||
|
||||
if (hasWantedAlert)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue