One of my events from my main loops checks if "Quit" is selected in a menu, and if so, calls the "End" command. Sounds simple, right?
That's what I thought. But "End" doesn't seem to have the control that you'd expect. Despite calling it, sometimes the app keeps running in the background, with 50% CPU. It's like it's not auto-ending all threads and windows for some reason.
Here's basically what I'm doing:
Code: Select all
If quit=1
Debug "gone"
End
EndIf