mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-14 09:29:09 +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(() =>
|
Dispatcher.Invoke(() =>
|
||||||
{
|
{
|
||||||
CleanShutdown(1);
|
CleanShutdown();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -471,7 +471,7 @@ namespace DS4WinWPF
|
|||||||
CleanShutdown();
|
CleanShutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CleanShutdown(int exitCode = 0)
|
private void CleanShutdown()
|
||||||
{
|
{
|
||||||
if (runShutdown)
|
if (runShutdown)
|
||||||
{
|
{
|
||||||
@ -503,11 +503,6 @@ namespace DS4WinWPF
|
|||||||
|
|
||||||
LogManager.Flush();
|
LogManager.Flush();
|
||||||
LogManager.Shutdown();
|
LogManager.Shutdown();
|
||||||
|
|
||||||
if (exitCode != 0)
|
|
||||||
{
|
|
||||||
Current.Shutdown(exitCode);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user