Browse Source

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.
adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
106adf135c
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 3
      src/base/bittorrent/sessionimpl.cpp

3
src/base/bittorrent/sessionimpl.cpp

@ -2916,8 +2916,9 @@ void SessionImpl::saveResumeData() @@ -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…
Cancel
Save