Qt: Fix crash on language change if system running

This commit is contained in:
Connor McLaughlin 2022-11-18 17:14:01 +10:00
parent 78e1d6e523
commit 4c17868f91

View file

@ -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();