On Wed Nov 8 12:26:23 2023 +0000, Rémi Bernon wrote:
The preset private data is cleared in `synth_preset_free`, before we release its reference to the instrument. It was not completely obvious to me that `synth_preset_free` is guaranteed to be called last, so I wanted to avoid any trouble.
Eh, looking at next commit I understand now. This is silly that they have a free callback but never call it... looks like the same for the sfont (although we apparently own it).