Merge pull request #17992 from glassez/preloading-magnet

Improve handling of preloading metadata.
This also allows to avoid blocking calls when performing some actions.
This commit is contained in:
Vladimir Golovnev 2022-11-10 19:22:20 +03:00 committed by GitHub
commit f9eefe866c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 58 additions and 34 deletions

View file

@ -695,7 +695,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;