mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Don't use AudacityApp where you only need wxApp...
... I want to have fewer inclusions of AudacityApp.h. More work on removing them will happen in the next version.
This commit is contained in:
@@ -2593,7 +2593,7 @@ void AudioIO::StopStream()
|
||||
while( mAudioThreadShouldCallFillBuffersOnce )
|
||||
{
|
||||
// LLL: Experienced recursive yield here...once.
|
||||
wxGetApp().Yield(true); // Pass true for onlyIfNeeded to avoid recursive call error.
|
||||
wxTheApp->Yield(true); // Pass true for onlyIfNeeded to avoid recursive call error.
|
||||
wxMilliSleep( 50 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user