This commit is contained in:
Arvid Norberg 2011-08-10 05:23:59 +00:00
parent bf2e4df2b2
commit 4abf581f0a
1 changed files with 1 additions and 0 deletions

View File

@ -710,6 +710,7 @@ void utp_stream::close()
if (!m_impl) return;
if (!m_impl->destroy())
{
if (!m_impl) return;
detach_utp_impl(m_impl);
m_impl = 0;
}