abrindam / ArtemisEngineeringClient

Java client for Artemis SBS. Attempts to provide an better experience for those playing the Engineering station.
2 stars 1 forks source link

Thread leak due to audio playing #18

Closed abrindam closed 8 years ago

abrindam commented 8 years ago

There seems to be a thread leak with the audio code. A new thread is created every time a sound is played and never goes away.

Looks like we need to explicitly close the clip (thanks Java): http://stackoverflow.com/questions/2792977/do-i-need-to-close-an-audio-clip