Closed xsoheilalizadeh closed 9 months ago
I think it's related to BoDi package, if you confirm I can forward it to their repo.
@xsoheilalizadeh I think you are correct assuming that it's related to the BoDi package. It does not appear to call DisposeAsync
. I did find a PR on SpecFlow trying to solve this (https://github.com/SpecFlowOSS/SpecFlow/pull/1614) but it does not seem ready to merge yet.
Update: although the PR mentioned above has been merged for the v4 release, the cause of this issue (BoDi) has not been fixed yet -- there is a PR for it however, so I'll be watching that (https://github.com/SpecFlowOSS/BoDi/pull/51).
Closing this issue because the plugin will be donated to Reqnroll.
If you register a class that implements
IAsyncDisposable
to the container it would throw following exception:Package version: 3.7.0 / .NET 5
cc @mbhoek