fix: eliminate torrents list retain cycles (#8603)

This commit is contained in:
Dmitry Lobanov
2026-02-24 17:47:53 +03:00
committed by GitHub
parent 4e26df6671
commit f7a48c3484
4 changed files with 4 additions and 4 deletions

View File

@@ -24,6 +24,6 @@
@property(nonatomic) IBOutlet NSView* fTorrentProgressBarView;
@property(nonatomic) TorrentTableView* fTorrentTableView;
@property(nonatomic, weak) TorrentTableView* fTorrentTableView;
@end

View File

@@ -11,7 +11,7 @@
@property(nonatomic) NSTrackingArea* fTrackingArea;
@property(nonatomic) NSImage* fImage;
@property(nonatomic) NSImage* fAlternativeImage;
@property(nonatomic) IBOutlet TorrentCell* torrentCell;
@property(nonatomic, weak) IBOutlet TorrentCell* torrentCell;
@property(nonatomic, readonly) TorrentTableView* torrentTableView;
@property(nonatomic) NSUserDefaults* fDefaults;
@end

View File

@@ -10,7 +10,7 @@
@interface TorrentCellControlButton ()
@property(nonatomic) NSTrackingArea* fTrackingArea;
@property(nonatomic, copy) NSString* controlImageSuffix;
@property(nonatomic) IBOutlet TorrentCell* torrentCell;
@property(nonatomic, weak) IBOutlet TorrentCell* torrentCell;
@property(nonatomic, readonly) TorrentTableView* torrentTableView;
@end

View File

@@ -9,7 +9,7 @@
@interface TorrentCellRevealButton ()
@property(nonatomic) NSTrackingArea* fTrackingArea;
@property(nonatomic, copy) NSString* revealImageString;
@property(nonatomic) IBOutlet TorrentCell* torrentCell;
@property(nonatomic, weak) IBOutlet TorrentCell* torrentCell;
@property(nonatomic, readonly) TorrentTableView* torrentTableView;
@end