fixed typo

This commit is contained in:
Arvid Norberg 2007-10-10 19:02:42 +00:00
parent ff5887e15e
commit f8d026efbc
1 changed files with 3 additions and 3 deletions

View File

@ -328,7 +328,7 @@ namespace detail
boost::tie(finished, progress) = processing->torrent_ptr->check_files();
{
mutex::scoped_lock l(m_mutex);
mutex::scoped_lock l2(m_mutex);
INVARIANT_CHECK;
@ -340,9 +340,9 @@ namespace detail
m_processing.pop_front();
// make sure the lock order is correct
l.unlock();
l2.unlock();
session_impl::mutex_t::scoped_lock l(m_ses.m_mutex);
l.lock();
l2.lock();
processing->torrent_ptr->abort();
processing.reset();