mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Log when application is shutting down
This commit is contained in:
parent
058b1bb287
commit
45c346316c
@ -45,6 +45,7 @@ namespace Wabbajack
|
||||
|
||||
Closed += (s, e) =>
|
||||
{
|
||||
_logger.LogInformation("Beginning shutdown...");
|
||||
_mwvm.CancelRunningTasks(TimeSpan.FromSeconds(10));
|
||||
Application.Current.Shutdown();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user