mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-08-23 07:16:26 -05:00
Fix race condition on OpenALAudioOut (#448)
This commit is contained in:
@@ -182,7 +182,10 @@ namespace Ryujinx.Audio.OpenAL
|
||||
{
|
||||
foreach (Track Td in Tracks.Values)
|
||||
{
|
||||
Td.CallReleaseCallbackIfNeeded();
|
||||
lock (Td)
|
||||
{
|
||||
Td.CallReleaseCallbackIfNeeded();
|
||||
}
|
||||
}
|
||||
|
||||
//If it's not slept it will waste cycles.
|
||||
|
Reference in New Issue
Block a user