[Modify] Call the Stop method

This commit is contained in:
sta 2017-07-03 15:00:37 +09:00
parent 960103d98a
commit 6b7af9ad57

View File

@ -1079,7 +1079,7 @@ namespace WebSocketSharp.Server
private void stopReceiving (int millisecondsTimeout)
{
_listener.Close ();
_listener.Stop ();
_receiveThread.Join (millisecondsTimeout);
}