hms-push-serverdemo-csharp icon indicating copy to clipboard operation
hms-push-serverdemo-csharp copied to clipboard

TaskCanceledException when requesting AccessToken

Open StMilan opened this issue 5 years ago • 1 comments

Noticed that if calling RequestAccessTokenAsync method end up in TaskCanceledException all further requests will also ended the same way as accessTokenTask won't be assigned to null, so added try finally to fix that

StMilan avatar Dec 07 '20 15:12 StMilan

@StMilan @HMSPushKit can anybody finaly merge this PR?

Vlad-Zaytsev avatar Sep 17 '24 12:09 Vlad-Zaytsev