1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

attempt to fix ipc crash when removing torrents

This commit is contained in:
Mitchell Livingston 2008-01-08 02:36:08 +00:00
parent c1edb88ffd
commit 2f3d027d04

View file

@ -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];