提交 24b22326 编写于 作者: C CyrusNajmabadi

Remove additional assert.

上级 058616fc
......@@ -107,8 +107,6 @@ public bool IsForeground()
public void AssertIsForeground()
{
Contract.ThrowIfFalse(IsForeground());
var whenCreatedThread = _foregroundThreadDataWhenCreated.Thread;
var currentThread = Thread.CurrentThread;
Contract.ThrowIfFalse(currentThread == whenCreatedThread,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册