Support services that implement IAsyncDisposable #249
Labels
enhancement
New feature or request
needs design
More design is needed before this issue should result in a feature being implemented.
Can
TestContext
and/orTestServiceProvider
be made to implementIAsyncDisposable
?Is your feature request related to a problem? Please describe.
I'm getting an exception on my test
TearDown
method, where I'm calling_context?.Dispose()
System.InvalidOperationException
: 'MyService' type only implements IAsyncDisposable. Use DisposeAsync to dispose the container.I believe this related to #233. The
MyService
type uses anIJSObjectReference
internally and so it implementsIAsyncDisposable
The text was updated successfully, but these errors were encountered: