From b418aeb46616c5139b70673550c1d21ac1c2e10a Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 10 May 2015 23:00:23 +0000 Subject: [PATCH] merged fixes from RC_1_0 --- src/torrent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index 17d9c11ec..8eb24fb26 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -9076,8 +9076,7 @@ namespace libtorrent return; } - // storage may be NULL during shutdown - if ((flags & torrent_handle::flush_disk_cache) && m_storage) + if ((flags & torrent_handle::flush_disk_cache)) m_ses.disk_thread().async_release_files(m_storage.get()); m_ses.queue_async_resume_data(shared_from_this());