Be sure to mark all the sound playing threads as daemon.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3305 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -292,11 +292,13 @@ public class SoundManager
|
||||
|
||||
// and if we need a new thread, add it
|
||||
if (add) {
|
||||
new Thread("narya SoundManager line spooler") {
|
||||
Thread spooler = new Thread("narya SoundManager line spooler") {
|
||||
public void run () {
|
||||
spoolerRun();
|
||||
}
|
||||
}.start();
|
||||
};
|
||||
spooler.setDaemon(true);
|
||||
spooler.start();
|
||||
}
|
||||
|
||||
return queued;
|
||||
|
||||
Reference in New Issue
Block a user