Log when application is shutting down

This commit is contained in:
UrbanCMC 2023-10-20 21:25:50 +02:00
parent 058b1bb287
commit 45c346316c

View File

@ -45,6 +45,7 @@ namespace Wabbajack
Closed += (s, e) =>
{
_logger.LogInformation("Beginning shutdown...");
_mwvm.CancelRunningTasks(TimeSpan.FromSeconds(10));
Application.Current.Shutdown();
};