CommonHostInterface: Release save state selector before display
This can have GPU objects, so needs to be released first.
This commit is contained in:
parent
bd164d2735
commit
63cc4ab197
|
@ -95,6 +95,9 @@ void CommonHostInterface::Shutdown()
|
||||||
{
|
{
|
||||||
HostInterface::Shutdown();
|
HostInterface::Shutdown();
|
||||||
|
|
||||||
|
// this has gpu objects so it has to come first
|
||||||
|
m_save_state_selector_ui.reset();
|
||||||
|
|
||||||
#ifdef WITH_DISCORD_PRESENCE
|
#ifdef WITH_DISCORD_PRESENCE
|
||||||
ShutdownDiscordPresence();
|
ShutdownDiscordPresence();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue