mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 04:55:46 -04:00
Android: Fix ANR when boot fails
This commit is contained in:
@ -194,7 +194,9 @@ void AndroidHostInterface::PauseEmulationThread(bool paused)
|
||||
|
||||
void AndroidHostInterface::StopEmulationThread()
|
||||
{
|
||||
Assert(IsEmulationThreadRunning());
|
||||
if (!IsEmulationThreadRunning())
|
||||
return;
|
||||
|
||||
Log_InfoPrint("Stopping emulation thread...");
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(m_mutex);
|
||||
|
Reference in New Issue
Block a user