Troubleshooting ReleaseOnCancelClient, 3rd attempt

This commit is contained in:
Christian Köllner 2019-08-23 22:10:23 +02:00
parent d97010de42
commit c8881f3482

View File

@ -338,7 +338,7 @@ namespace Capnp.Net.Runtime.Tests
{ {
// Scenario 2: Cancellation happened before or while computing the answer. // Scenario 2: Cancellation happened before or while computing the answer.
} }
catch (ObjectDisposedException) catch (AggregateException ex) when (ex.InnerException is ObjectDisposedException)
{ {
// Scenario 3: Cancellation happened after computing the answer, and after client-side completion. // Scenario 3: Cancellation happened after computing the answer, and after client-side completion.
} }