mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 22:05:38 +00:00
Qt: Fix crash on language change if system running
This commit is contained in:
parent
78e1d6e523
commit
4c17868f91
|
@ -704,7 +704,7 @@ std::string MainWindow::getDeviceDiscPath(const QString& title)
|
||||||
void MainWindow::recreate()
|
void MainWindow::recreate()
|
||||||
{
|
{
|
||||||
if (s_system_valid)
|
if (s_system_valid)
|
||||||
requestShutdown(false, true, true);
|
requestShutdown(false, true, true, true);
|
||||||
|
|
||||||
// We need to close input sources, because e.g. DInput uses our window handle.
|
// We need to close input sources, because e.g. DInput uses our window handle.
|
||||||
g_emu_thread->closeInputSources();
|
g_emu_thread->closeInputSources();
|
||||||
|
|
Loading…
Reference in a new issue