mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-13 16:49:08 +01:00
Error exit code already set. Remove extra shutdown call
This commit is contained in:
parent
529adf9f27
commit
0fc9491927
@ -188,7 +188,7 @@ namespace DS4WinWPF
|
||||
{
|
||||
Dispatcher.Invoke(() =>
|
||||
{
|
||||
CleanShutdown(1);
|
||||
CleanShutdown();
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -471,7 +471,7 @@ namespace DS4WinWPF
|
||||
CleanShutdown();
|
||||
}
|
||||
|
||||
private void CleanShutdown(int exitCode = 0)
|
||||
private void CleanShutdown()
|
||||
{
|
||||
if (runShutdown)
|
||||
{
|
||||
@ -503,11 +503,6 @@ namespace DS4WinWPF
|
||||
|
||||
LogManager.Flush();
|
||||
LogManager.Shutdown();
|
||||
|
||||
if (exitCode != 0)
|
||||
{
|
||||
Current.Shutdown(exitCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user