We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6a161a commit 9d4350dCopy full SHA for 9d4350d
GoogleSignIn/Future.cs
@@ -71,7 +71,6 @@ internal Future(FutureAPIImpl<T> impl) {
71
/// <param name="tcs">Tcs.</param>
72
internal IEnumerator WaitForResult(TaskCompletionSource<T> tcs) {
73
yield return new WaitUntil(() => !Pending);
74
- yield return null;
75
if (Status == GoogleSignInStatusCode.CANCELED) {
76
tcs.SetCanceled();
77
} else if (Status == GoogleSignInStatusCode.SUCCESS ||
@@ -85,7 +84,6 @@ internal IEnumerator WaitForResult(TaskCompletionSource<T> tcs) {
85
84
internal async Task WaitForResultAsync(TaskCompletionSource<T> tcs)
86
{
87
while (Pending) await Task.Yield();
88
- await Task.Yield();
89
90
91
0 commit comments