mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 23:52:31 -06: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:
@@ -2916,8 +2916,9 @@ void SessionImpl::saveResumeData()
|
||||
|| (alertType == lt::save_resume_data_failed_alert::alert_type))
|
||||
{
|
||||
hasWantedAlert = true;
|
||||
handleAlert(a);
|
||||
}
|
||||
|
||||
handleAlert(a);
|
||||
}
|
||||
|
||||
if (hasWantedAlert)
|
||||
|
||||
Reference in New Issue
Block a user