瀏覽代碼

Merge branch 'master' of https://github.com/egametang/Egametang

tanghai 8 年之前
父節點
當前提交
635bf79c66
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Server/Model/Other/OneThreadSynchronizationContext.cs

+ 1 - 1
Server/Model/Other/OneThreadSynchronizationContext.cs

@@ -16,7 +16,7 @@ namespace Model
 
 		public void Update()
 		{
-			while (this.queue.Count > 0)
+			while (!this.queue.IsEmpty)
 			{
 				Action a;
 				if (this.queue.TryDequeue(out a))