This commit is contained in:
Igor Katson 2024-12-06 11:30:04 +00:00
parent f637959ba7
commit 7ed037cba8
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -182,7 +182,9 @@ pub struct ManagedTorrentShared {
}
pub struct ManagedTorrent {
// Static torrent configuration that doesn't change.
pub shared: Arc<ManagedTorrentShared>,
// Torrent metadata. Maybe be None when the magnet is resolving.
pub metadata: ArcSwapOption<TorrentMetadata>,
pub(crate) state_change_notify: Notify,
pub(crate) locked: RwLock<ManagedTorrentLocked>,