[Modify] Polish it
This commit is contained in:
		| @@ -48,8 +48,8 @@ namespace WebSocketSharp.Server | |||||||
|   { |   { | ||||||
|     #region Private Fields |     #region Private Fields | ||||||
|  |  | ||||||
|     private volatile bool                         _keepClean; |  | ||||||
|     private object                                _forSweep; |     private object                                _forSweep; | ||||||
|  |     private volatile bool                         _keepClean; | ||||||
|     private Logger                                _log; |     private Logger                                _log; | ||||||
|     private Dictionary<string, IWebSocketSession> _sessions; |     private Dictionary<string, IWebSocketSession> _sessions; | ||||||
|     private volatile ServerState                  _state; |     private volatile ServerState                  _state; | ||||||
| @@ -66,8 +66,8 @@ namespace WebSocketSharp.Server | |||||||
|     { |     { | ||||||
|       _log = log; |       _log = log; | ||||||
|  |  | ||||||
|       _keepClean = true; |  | ||||||
|       _forSweep = new object (); |       _forSweep = new object (); | ||||||
|  |       _keepClean = true; | ||||||
|       _sessions = new Dictionary<string, IWebSocketSession> (); |       _sessions = new Dictionary<string, IWebSocketSession> (); | ||||||
|       _state = ServerState.Ready; |       _state = ServerState.Ready; | ||||||
|       _sync = ((ICollection) _sessions).SyncRoot; |       _sync = ((ICollection) _sessions).SyncRoot; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user