You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to establish connection with ConnectAsync and I display a window to allow the user to cancel the attempt.
I experiment a System.InvalidOperationException: 'An attempt was made to transition a task to a final state when it had already completed.' each time I cancel.
Here is my simplified code to reproduce with systematic cancelation. Am I missing something ? I'm not familiar with async/await usage so maybe I miss something important...
Hello, I'm trying to establish connection with
ConnectAsync
and I display a window to allow the user to cancel the attempt.I experiment a
System.InvalidOperationException: 'An attempt was made to transition a task to a final state when it had already completed.'
each time I cancel.Here is my simplified code to reproduce with systematic cancelation. Am I missing something ? I'm not familiar with async/await usage so maybe I miss something important...
Thank you in advance.
The text was updated successfully, but these errors were encountered: