merged fixes from RC_1_0

This commit is contained in:
Arvid Norberg 2015-05-10 23:00:23 +00:00
parent 494b425ea1
commit b418aeb466
1 changed files with 1 additions and 2 deletions

View File

@ -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());