mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 15:41:49 +01:00
Added extra full shutdown check.
Fixes exclusive mode issues for non-admin users. Related to issue #1071.
This commit is contained in:
parent
05b96a5c0a
commit
cb871f7606
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user