How do I quit a plugin application from the code? I can't seem to figure it out.
EDIT: I made a little progress by using orxMoudle_ExitAll(). But it gets stuck in an infinite loop when it tries to exit the clock module. I had a 9.3 megabyte text file that was full of this line:
<CLOCK> (orxClock_Delete() - f:workspaceorxcodesrccoreorxclock.c:829) Can't delete clock <> as it's currently locked for processing!
I can't think of what else to do.
That should do the trick.