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

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)