提交 1fc315de 编写于 作者: T tanghai 提交者: GitHub

Merge pull request #15 from rocbomb/master

ConcurrentQueue isEmpty
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册