AbyssEngine / AbyssEngineOld

The Open Source ARPG Engine.
https://www.abyssengine.com
GNU General Public License v3.0
438 stars 46 forks source link

Race condition in fillAudioBuffer() #164

Open DarthGandalf opened 7 months ago

DarthGandalf commented 7 months ago

AbyssEngine::fillAudioBuffer accesses _soundEffects without any locking, but AbyssEngine::removeSoundEffect is called from main thread instead, and that causes crash.