mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-19 06:54:05 +09:00
reloading the engine will copy track states from the old instance, obsoleting audioMixerRenewHooks
This commit is contained in:
@@ -506,6 +506,7 @@ class AudioMixer(val bufferSize: Int): Disposable {
|
||||
// feeder.stop()
|
||||
// feedingThread.join()
|
||||
tracks.forEach { it.tryDispose() }
|
||||
dynamicTracks.forEach { it.tryDispose() }
|
||||
masterTrack.tryDispose()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user