Skip to content

Commit

Permalink
Applies bitflag check pattern more consistently
Browse files Browse the repository at this point in the history
In response to @BertanAygun CR comments
  • Loading branch information
AArnott committed May 18, 2017
1 parent 5728fd0 commit 6c6e2b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ private bool SynchronouslyBlockingThreadPool
get
{
return (this.state & JoinableTaskFlags.StartedSynchronously) == JoinableTaskFlags.StartedSynchronously
&& (this.state & JoinableTaskFlags.StartedOnMainThread) == JoinableTaskFlags.None
&& (this.state & JoinableTaskFlags.StartedOnMainThread) != JoinableTaskFlags.StartedOnMainThread
&& (this.state & JoinableTaskFlags.CompleteRequested) != JoinableTaskFlags.CompleteRequested;
}
}
Expand Down

0 comments on commit 6c6e2b0

Please sign in to comment.