Closed CrazyOrange closed 5 years ago
Are you able to provide sample application where ReceiveAsync does not throw a OperationCanceledException when the CancelationToken is canceled? I'm having difficulty reproducing the problem as each scenario in the tests, works.
Weird, setting some debug breakpoints seems to have fixes this "issue". So I guess this was an debugger cause isse. Sorry.
It seems that it's not possible to cancel a CoapClient ReceiveAsync call by cancling the CancellationToken.