mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00: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
@ -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…
Reference in New Issue
Block a user