fixed typo in previous patch
This commit is contained in:
parent
74593d6014
commit
eaa071818e
|
@ -229,8 +229,6 @@ void udp_socket::close()
|
||||||
if (m_outstanding == 0)
|
if (m_outstanding == 0)
|
||||||
{
|
{
|
||||||
// "this" may be destructed in the callback
|
// "this" may be destructed in the callback
|
||||||
// that's why we need to unlock
|
|
||||||
l.unlock();
|
|
||||||
callback_t tmp = m_callback;
|
callback_t tmp = m_callback;
|
||||||
m_callback.clear();
|
m_callback.clear();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue