BlackMIDIDevs / wasabi

The fastest and most memory efficient Black MIDI player. Can play virtually any Black MIDI you have in realtime.
GNU General Public License v3.0
27 stars 7 forks source link

Fix xsynth memory management #34

Closed StratusFearMe21 closed 1 year ago

StratusFearMe21 commented 1 year ago

This isn't necessarily a better solution than using Box::leak(Box::new()), but it's better for memory and allows the RealtimeSynth to be dropped by the compiler.