[Modify] Polish it
This commit is contained in:
		@@ -387,11 +387,14 @@ namespace WebSocketSharp.Server
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    internal void Broadcast (
 | 
			
		||||
      Opcode opcode, Stream stream, Dictionary <CompressionMethod, Stream> cache)
 | 
			
		||||
      Opcode opcode, Stream stream, Dictionary <CompressionMethod, Stream> cache
 | 
			
		||||
    )
 | 
			
		||||
    {
 | 
			
		||||
      foreach (var session in Sessions) {
 | 
			
		||||
        if (_state != ServerState.Start)
 | 
			
		||||
        if (_state != ServerState.Start) {
 | 
			
		||||
          _log.Error ("The service is shutting down.");
 | 
			
		||||
          break;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        session.Context.WebSocket.Send (opcode, stream, cache);
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user