1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

#609: transmission-gtk crashes when a torrent is removed while its details window is open

This commit is contained in:
Charles Kerr 2008-01-12 16:45:32 +00:00
parent 59d0ce9d33
commit ffc5b273fe

View file

@ -638,7 +638,7 @@ tr_core_delete_torrent( TrCore * self, GtkTreeIter * iter )
gtk_list_store_remove( GTK_LIST_STORE( self->model ), iter ); gtk_list_store_remove( GTK_LIST_STORE( self->model ), iter );
tr_torrentRemoveSaved( tr_torrent_handle( tor ) ); tr_torrentRemoveSaved( tr_torrent_handle( tor ) );
tr_torrent_sever( tor ); g_object_unref( G_OBJECT( tor ) );
} }
static gboolean static gboolean