You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you again for adding IAsyncDisposable support. However, I am now getting a weird exception on disposing of Blazor controls:
System.InvalidOperationException: The type DragonSpark.Presentation.Environment.Browser.Document.FocusedElement only implements `IAsyncDisposable` and can only be disposed in an asynchronous scope started with `BeginScopeAsync()`
at void LightInject.Scope.Dispose()
at void LightInject.Microsoft.DependencyInjection.LightInjectServiceScope.Dispose()
at ValueTask Microsoft.Extensions.DependencyInjection.AsyncServiceScope.DisposeAsync()
at ValueTask DragonSpark.Composition.Construction.ServiceScopeFactory+Scope.DisposeAsync() in D:/a/1/s/Framework/DragonSpark.Composition/Construction/ServiceScopeFactory.cs:line 35
The first thing that catches my eye is a reference to BeginScopeAsync which I do not see anywhere.
The other issue is that while LightInject.Scope is now IAsyncDisposable it appears that LightInject.Microsoft.DependencyInjection.LightInjectServiceScope is not and still only implements IDisposable only.
Anyways, I may be confused here but wanted to start the confirmation and see if there is something I am overlooking/misunderstanding. Thank you for any assistance/consideration.
The text was updated successfully, but these errors were encountered:
Thank you again for adding IAsyncDisposable support. However, I am now getting a weird exception on disposing of Blazor controls:
Note that the above code can be found here:
https://github.com/DragonSpark/Framework/blob/master/DragonSpark.Composition/Construction/ServiceScopeFactory.cs
The first thing that catches my eye is a reference to
BeginScopeAsync
which I do not see anywhere.The other issue is that while
LightInject.Scope
is now IAsyncDisposable it appears thatLightInject.Microsoft.DependencyInjection.LightInjectServiceScope
is not and still only implementsIDisposable
only.Anyways, I may be confused here but wanted to start the confirmation and see if there is something I am overlooking/misunderstanding. Thank you for any assistance/consideration.
The text was updated successfully, but these errors were encountered: