How do I get rid of the delay when my program ends

BlitzMax Forums/BlitzMax Programming/How do I get rid of the delay when my program ends

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Okay I did the sound test. When in windowed mode and switching to fullscreen, it seems like, the FreeGadget Canvas line in the fullscreen() function is the culprit.

But that doesn't mean much because a simple END is the culprot when the game starts in fullscreen mode and you attempt to quit.

But maybe end calls FreeGadget internally and freeing that canvas the first time it's created causes the hiccup. No idea why recreating it and freeing it again would not exhibit the same behavior though.