take bytes

This commit is contained in:
yggverse 2025-08-08 01:16:36 +03:00
parent 3e053fa806
commit e2d2b513cc
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ async fn main() -> Result<()> {
mt.wait_until_completed().await?;
// persist torrent bytes and preloaded content,
// cleanup tmp (see rqbit#408)
preload.commit(&i, &bytes, Some(keep_files))?;
preload.commit(&i, bytes, Some(keep_files))?;
// remove torrent from session as indexed
session
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)