Hi,
We are getting "Object Disposed Exception" when we click a menu item before the current menu item page is fully loaded.
Cannot access a disposed object.
at Microsoft.AspNetCore.Components.OwningComponentBase.get_ScopedServices() at Volo.Abp.AspNetCore.Components.AbpComponentBase.get_CurrentTenant()
Can you please provide a solution to fix this?
ABP Framework version: v7.2.2 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes
1 Answer(s)
-
0
Hi,
Related question: https://support.abp.io/QA/Questions/4392/Blazor-WASM-SystemObjectDisposedException-Cannot-access-a-disposed-object-of-dependency-injection-replacement--scenario-of-UserManagement
The component will be disposed when you switch pages, it is not related to ABP. but we can try to avoid this problem, I will check it.