Fixed WebSocketServer

This commit is contained in:
sta
2012-08-06 14:34:39 +09:00
parent 9212716319
commit b730e23248
59 changed files with 277 additions and 124 deletions

View File

@@ -748,16 +748,10 @@ namespace WebSocketSharp
private void messageLoop()
{
#if DEBUG
Console.WriteLine("\nWS: Info@messageLoop: Current thread IsBackground?: {0}", Thread.CurrentThread.IsBackground);
#endif
while (_readyState == WsState.OPEN)
{
message();
}
#if DEBUG
Console.WriteLine("WS: Info@messageLoop: Exit messageLoop method.");
#endif
}
private void startMessageThread()