From a17ea62f2990cfd69c0d5ce746a4b29eef96500d Mon Sep 17 00:00:00 2001 From: dparthiban Date: Thu, 3 Mar 2022 21:09:43 -0500 Subject: [PATCH] fix --- src/auth/oauth2/mod.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/auth/oauth2/mod.rs b/src/auth/oauth2/mod.rs index 540b69e..4be09d9 100644 --- a/src/auth/oauth2/mod.rs +++ b/src/auth/oauth2/mod.rs @@ -96,10 +96,14 @@ impl Inner { $field: $field.clone(), )* }; + cx.waker().wake_by_ref(); break Poll::Pending; } }, - Poll::Pending => break Poll::Pending, + Poll::Pending => { + cx.waker().wake_by_ref(); + break Poll::Pending; + } } }; }