From 7b4998213f2041046f66ffa34207eed647c2af31 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 18 Jan 2011 01:19:58 +0000 Subject: [PATCH] graceful pause fix --- src/torrent.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/torrent.cpp b/src/torrent.cpp index 3f0c56cc7..8b6287c8a 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -5987,6 +5987,8 @@ namespace libtorrent if (!checking_files && should_check_files()) queue_torrent_check(); + else if (checking_files && !should_check_files()) + dequeue_torrent_check(); } void torrent::resume()