fixed deadlock

This commit is contained in:
Arvid Norberg 2009-06-09 05:48:38 +00:00
parent 7eb78298f3
commit 18bc7c3fc7
2 changed files with 0 additions and 2 deletions

View File

@ -317,7 +317,6 @@ namespace libtorrent
+ (" " + m_parser.message());
if (m_ses.m_alerts.should_post<url_seed_alert>())
{
session_impl::mutex_t::scoped_lock l(m_ses.m_mutex);
m_ses.m_alerts.post_alert(url_seed_alert(t->get_handle(), url()
, error_msg));
}

View File

@ -382,7 +382,6 @@ namespace libtorrent
+ (" " + m_parser.message());
if (m_ses.m_alerts.should_post<url_seed_alert>())
{
session_impl::mutex_t::scoped_lock l(m_ses.m_mutex);
m_ses.m_alerts.post_alert(url_seed_alert(t->get_handle(), url()
, error_msg));
}