My app aborts system restart

Miscellaneous Forums/MacOS X Discussion/My app aborts system restart

Hi everyone.
If anyone can help, for some reason when my blitzmax apps is running and I try to restart the Mac, a screen pops up that says that the restart has beeen aborted.

Can anyone tell me how to prevent this from happening so the Mac just restart?


Thanks

It seems, that your app hangs,

try to quit your app before you restart with alt+cmd+escape

[Edit]
You may have to implement the handle of an Quit Event.
Do you use MaxGUI ?

Thanks for responding Manroman.

It is a MaxGui App.
Quit from the menu and command+Q(or whatever) also works fine.
In fact when I go to restart or logout, my App does quit but then the Mac pops up the message that my app canceled the restart when in fact my app is no longer running.

I also notice the same behavior in the Blitzmax IDE. I'm wondering if the fault is in the way Blitzmax quits on the Mac.

If you have the time and MaxGui, try starting the IDE then go to the apple menu and logout. That message should pop up.

Please let me know what you find .


Thanks a lot

Ah okay,

i just tested it.

If i'm running the IDE and go to Apple -> logout, the application quits, but i get the popup message and the logout aborts.

Seems to be a Blitzmax Bug :-)

Manromen,
Thanks a lot for checking it out. For a second I thought there was something wrong with the apps I was writing.