mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Close listen socket in destructor.
This commit is contained in:
parent
5f8eadfb16
commit
2bc7a9bd30
@ -275,6 +275,7 @@ ListenSocket::ListenSocket()
|
||||
|
||||
ListenSocket::~ListenSocket()
|
||||
{
|
||||
if( m_sock != -1 ) Close();
|
||||
}
|
||||
|
||||
bool ListenSocket::Listen( const char* port, int backlog )
|
||||
|
Loading…
Reference in New Issue
Block a user