From 572f176f99dcd94c02c4c9996d2504797f7d13e1 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 2 Apr 2011 20:05:44 +0000 Subject: [PATCH] fix assert when removing a torrent --- src/session_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index 9c4c04e6b..20560f1a8 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -4184,8 +4184,8 @@ namespace aux { if (m_alerts.should_post()) m_alerts.post_alert(torrent_removed_alert(tptr->get_handle(), tptr->info_hash())); - tptr->set_queue_position(-1); tptr->abort(); + tptr->set_queue_position(-1); } void session_impl::remove_torrent_impl(boost::shared_ptr tptr, int options)