diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index 865e236b7..fe0b0f781 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -1882,9 +1882,7 @@ void Session::saveResumeData() switch (a->type()) { case libt::save_resume_data_failed_alert::alert_type: case libt::save_resume_data_alert::alert_type: - TorrentHandle *torrent = m_torrents.take(static_cast(a)->handle.info_hash()); - if (torrent) - torrent->handleAlert(a); + dispatchTorrentAlert(a); break; } #if LIBTORRENT_VERSION_NUM < 10100