Disposal Question
TorreyGarland opened this issue · comments
When using dependency injection, how do you ensure that any injected service that implements IDisposable is property disposed on application shutdown?
I am learning Maui, have a background in WPF. In WPF, you could dispose on an IHost instance in the App.xaml.cs OnExit method to ensure that all disposable resources are disposed.
I have not seen any documentation for anything like this for Maui.
Thanks. Great youtube video.