Ripped socket disconnect code
This commit is contained in:
parent
2b54372249
commit
0338bd6a75
3 changed files with 39 additions and 45 deletions
|
|
@ -91,13 +91,13 @@ namespace Server.Network
|
|||
|
||||
public static void ReleaseSocket( Socket s )
|
||||
{
|
||||
if ( s == null )
|
||||
/*if ( s == null )
|
||||
return;
|
||||
|
||||
s.Close();
|
||||
|
||||
lock ( m_FreeSockets )
|
||||
m_FreeSockets.Enqueue( s );
|
||||
m_FreeSockets.Enqueue( s );*/
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue