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
@ -430,11 +430,14 @@ namespace DS4WinWPF
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void Application_Exit(object sender, ExitEventArgs e)
|
private void Application_Exit(object sender, ExitEventArgs e)
|
||||||
|
{
|
||||||
|
if (runShutdown)
|
||||||
{
|
{
|
||||||
Logger logger = logHolder.Logger;
|
Logger logger = logHolder.Logger;
|
||||||
logger.Info("Request App Shutdown");
|
logger.Info("Request App Shutdown");
|
||||||
CleanShutdown();
|
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