mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
attempt to fix ipc crash when removing torrents
This commit is contained in:
@@ -3911,6 +3911,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||
{
|
||||
if (!torrents)
|
||||
torrents = [NSArray arrayWithArray: fTorrents];
|
||||
[torrents retain];
|
||||
|
||||
[self confirmRemoveTorrents: torrents deleteData: NO deleteTorrent: NO];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user