Fix another crash in SocketEvents::Register

fixes #8547
This commit is contained in:
Gunnar Beutner 2015-02-26 13:11:50 +01:00
parent 1302f7c841
commit 0c51857084
1 changed files with 2 additions and 0 deletions

View File

@ -292,6 +292,8 @@ void TlsStream::Close(void)
(void) SSL_shutdown(m_SSL.get());
m_SSL.reset();
SocketEvents::Unregister();
m_Socket->Close();
m_Eof = true;