diff --git a/rpcs3/rpcs3qt/gs_frame.cpp b/rpcs3/rpcs3qt/gs_frame.cpp index 9c262373d..5f1d9e12e 100644 --- a/rpcs3/rpcs3qt/gs_frame.cpp +++ b/rpcs3/rpcs3qt/gs_frame.cpp @@ -830,19 +830,9 @@ bool gs_frame::event(QEvent* ev) } int result = QMessageBox::Yes; - atomic_t called = false; - - Emu.CallFromMainThread([this, &result, &called]() - { - m_gui_settings->ShowConfirmationBox(tr("Exit Game?"), - tr("Do you really want to exit the game?

Any unsaved progress will be lost!
"), - gui::ib_confirm_exit, &result, nullptr); - - called = true; - called.notify_one(); - }); - - called.wait(false); + m_gui_settings->ShowConfirmationBox(tr("Exit Game?"), + tr("Do you really want to exit the game?

Any unsaved progress will be lost!
"), + gui::ib_confirm_exit, &result, nullptr); if (result != QMessageBox::Yes) {