mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 19:35:41 -04:00
System: Gracefully handle memory allocaion failure
This commit is contained in:
@ -1497,7 +1497,11 @@ void EmuThread::run()
|
||||
m_started_semaphore.release();
|
||||
|
||||
// input source setup must happen on emu thread
|
||||
System::Internal::ProcessStartup();
|
||||
if (!System::Internal::ProcessStartup())
|
||||
{
|
||||
moveToThread(m_ui_thread);
|
||||
return;
|
||||
}
|
||||
|
||||
// bind buttons/axises
|
||||
createBackgroundControllerPollTimer();
|
||||
|
Reference in New Issue
Block a user