1
0
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:
Chocobo1 2022-10-18 14:29:17 +08:00
parent dcfd367ff8
commit 106adf135c
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -2916,8 +2916,9 @@ void SessionImpl::saveResumeData()
|| (alertType == lt::save_resume_data_failed_alert::alert_type))
{
hasWantedAlert = true;
handleAlert(a);
}
handleAlert(a);
}
if (hasWantedAlert)