mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
attempt to fix ipc crash when removing torrents
This commit is contained in:
parent
c1edb88ffd
commit
2f3d027d04
1 changed files with 1 additions and 0 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue