Clear have_bitfield on error

This commit is contained in:
Igor Katson 2024-08-21 18:21:15 +01:00
parent b7ed850918
commit c697809e50
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
8 changed files with 88 additions and 32 deletions

View file

@ -1148,6 +1148,7 @@ impl Session {
minfo.clone(),
only_files.clone(),
minfo.storage_factory.create_and_init(&minfo)?,
false,
));
let handle = Arc::new(ManagedTorrent {
locked: RwLock::new(ManagedTorrentLocked {