mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 14:15:45 -04:00
HostInterface; Fix crash on shutdown if boot fails
This commit is contained in:
@ -97,7 +97,9 @@ bool HostInterface::BootSystem(const SystemBootParameters& parameters)
|
|||||||
if (!System::Boot(parameters))
|
if (!System::Boot(parameters))
|
||||||
{
|
{
|
||||||
ReportFormattedError("System failed to boot. The log may contain more information.");
|
ReportFormattedError("System failed to boot. The log may contain more information.");
|
||||||
DestroySystem();
|
OnSystemDestroyed();
|
||||||
|
m_audio_stream.reset();
|
||||||
|
ReleaseHostDisplay();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user