Added extra full shutdown check.

Fixes exclusive mode issues for non-admin users. Related to issue #1071.
This commit is contained in:
Travis Nickles 2020-01-28 09:12:08 -06:00
parent 05b96a5c0a
commit cb871f7606

View File

@ -431,9 +431,12 @@ namespace DS4WinWPF
private void Application_Exit(object sender, ExitEventArgs e)
{
Logger logger = logHolder.Logger;
logger.Info("Request App Shutdown");
CleanShutdown();
if (runShutdown)
{
Logger logger = logHolder.Logger;
logger.Info("Request App Shutdown");
CleanShutdown();
}
}
private void Application_SessionEnding(object sender, SessionEndingCancelEventArgs e)