Windows app wont quit

I have a basic app, at the end of the code I issue a


also tried
But it just sits there.

Anyone any ideas. Is there a way to force the exit or self terminate the process on all platforms?

Define what you mean by “end of the code”. In which event did you place the quit? It has always worked for me on Win or Mac.

If there is a window instance that is not closed (or has a CancelClose) then it won’t quit…
In the… I always put APP.AUTOQUIT=true but that may depend on how you want the app to behave.