diff --git a/src/frontend-common/common_host_interface.cpp b/src/frontend-common/common_host_interface.cpp index 393b7fde6..e627cf209 100644 --- a/src/frontend-common/common_host_interface.cpp +++ b/src/frontend-common/common_host_interface.cpp @@ -95,6 +95,9 @@ void CommonHostInterface::Shutdown() { HostInterface::Shutdown(); + // this has gpu objects so it has to come first + m_save_state_selector_ui.reset(); + #ifdef WITH_DISCORD_PRESENCE ShutdownDiscordPresence(); #endif