-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async demo 09: Never stops after running 14+ requests #25
Comments
Looks like when the loop ends by the Polly-Samples/PollyDemos/Async/AsyncDemo09_Wrap-Fallback-Timeout-WaitAndRetry.cs Line 144 in 88c3b8e
If there are any cancelled HTTP requests still pending to run, they'll try to use the now-disposed Polly-Samples/PollyDemos/Async/AsyncDemo09_Wrap-Fallback-Timeout-WaitAndRetry.cs Line 159 in 88c3b8e
|
Yes, that is correct. However, the policy is configured to handle all exceptions and to run forever, and the policyWrap.ExecuteAsync() is accepting a Also, how would I write something like, handle all exceptions except for Thanks. |
@peter-csala Something to consider when you get to migrating this demo. |
@martincostello Please assign to me, otherwise I will forget it :) |
After the V8 migration I can not reproduce the problem. The application can be stopped any time. @martincostello I think we can close this issue if you agree. |
After running the demo a few times and allowing it to run for several request, 14+ times), the screen fills up with
The exception happens on line 159.
The text was updated successfully, but these errors were encountered: