Cache torrent handles of preloading magnets

This commit is contained in:
Vladimir Golovnev (Glassez)
2022-11-03 13:29:48 +03:00
parent da586828be
commit 0b70ccf9e9
2 changed files with 12 additions and 11 deletions

View File

@@ -694,7 +694,7 @@ namespace BitTorrent
ResumeDataStorage *m_resumeDataStorage = nullptr;
FileSearcher *m_fileSearcher = nullptr;
QSet<TorrentID> m_downloadedMetadata;
QHash<TorrentID, lt::torrent_handle> m_downloadedMetadata;
QHash<TorrentID, TorrentImpl *> m_torrents;
QHash<TorrentID, TorrentImpl *> m_hybridTorrentsByAltID;