mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-02 03:55:42 -04:00
SDL: Fix crash on shutdown when save state selector used
This commit is contained in:
parent
976d4bae79
commit
4f8fd049d0
@ -420,6 +420,8 @@ void SDLHostInterface::Shutdown()
|
||||
{
|
||||
DestroySystem();
|
||||
|
||||
CommonHostInterface::Shutdown();
|
||||
|
||||
if (m_display)
|
||||
{
|
||||
DestroyDisplay();
|
||||
@ -428,8 +430,6 @@ void SDLHostInterface::Shutdown()
|
||||
|
||||
if (m_window)
|
||||
DestroySDLWindow();
|
||||
|
||||
CommonHostInterface::Shutdown();
|
||||
}
|
||||
|
||||
std::string SDLHostInterface::GetStringSettingValue(const char* section, const char* key,
|
||||
|
Loading…
x
Reference in New Issue
Block a user