so, i have a function i would like to call before my bela program quits.
i thought i could use cleanup() for that, but when exactly does cleanup() get called?
i assume if i disconnect power suddenly, this will not work.
the stop button on the IDE does run it, i have tested that successfully
if i switch patches via a button (yet to implement), does cleanup() work?