mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 17:29:18 +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)
|
private void Application_Exit(object sender, ExitEventArgs e)
|
||||||
{
|
{
|
||||||
Logger logger = logHolder.Logger;
|
if (runShutdown)
|
||||||
logger.Info("Request App Shutdown");
|
{
|
||||||
CleanShutdown();
|
Logger logger = logHolder.Logger;
|
||||||
|
logger.Info("Request App Shutdown");
|
||||||
|
CleanShutdown();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Application_SessionEnding(object sender, SessionEndingCancelEventArgs e)
|
private void Application_SessionEnding(object sender, SessionEndingCancelEventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user