Closed bpross-52n closed 10 years ago
has to be a concurrency issue. pending
should always be mutually excluded, but probably another thread is interacting with that collection. imho https://github.com/bpross-52n/yadarts-desktop/blob/master/src/main/java/spare/n52/yadarts/sound/SoundExecutor.java#L138 should also be inside the mutexed block below.
I have to admit, I am not sure why, but after removing this code from the if statement, all sounds, including the hit sounds, are played nicely in the order they are kicked off by the respective events.