Shane Neuville
Shane Neuville
We have some new opt-in handlers for NET9 https://github.com/dotnet/maui/issues/25248 Once you're on RC2 for NET9 I'd be curious to know if you are still seeing the issue
/backport to release/9.0.1xx-sr8
/backport to release/9.0.1xx-sr8
Yea, that's how `IDisposable` works by default with MSFT dependency Injection. https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-guidelines#disposal-of-services
> Is this a nice simple workaround or a terrible idea? > > public App(IServiceProvider serviceProvider) > { > InitializeComponent(); > > var loginPage = serviceProvider.GetRequiredService(); > MainPage = new...
> The DI guidelines says this about [disposal of services](https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-guidelines#disposal-of-services): > > _The container is responsible for cleanup of types it creates, and calls Dispose on IDisposable instances._ > >...