explicit lsd close fix

This commit is contained in:
Arvid Norberg 2007-11-19 02:24:07 +00:00
parent a672fc457b
commit 3489ccaebd
1 changed files with 2 additions and 0 deletions

View File

@ -2317,6 +2317,8 @@ namespace detail
void session_impl::stop_lsd()
{
mutex_t::scoped_lock l(m_mutex);
if (m_lsd.get())
m_lsd->close();
m_lsd = 0;
}