Where can I put code to be run just before the program ends?

I need to make a function call to stop using a library, just before OF program ends.

Where should I do this?

you can create an exit function in testapp and it’ll be called right before the program ends

1 Like