We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have written a Processing sketch that is supposed to run certain code upon exiting (see here). Whenever the program is run in Processing, the shutdown works, but whenever I export the program to run on Windows without Processing, the shutdown code is never executed. What is a possible solution to this problem?