-
Hi Maui Team, I have a MAUI application that resembles https://github.com/davidortinau/WeatherTwentyOne as it is basically a reference app for my own little app. Now I add several services to the DI container as it is done here: https://github.com/davidortinau/WeatherTwentyOne/blob/bb54ac16dce5f33d3c1348cc3fe6090890ed5793/src/WeatherTwentyOne/MauiProgram.cs#L34-L38 However, I don't observe that the DI container would be disposed before the application terminates. How can I do it? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
See: #13424 |
Beta Was this translation helpful? Give feedback.
MauiApp
hasDispose()
andDisposeAsync()
methodsSee: #13424