[Mono-osx] How to quit mono gracefully when Mac OS X 10.5.x restarts

d_v dan.vandermolen at figpsoft.com
Thu Oct 15 10:16:53 EDT 2009

I am trying to get my C# 2.0 winform or console application to run on mono
and when a user restarts the Mac or shuts down, my application will
automatically shutdown as well as mono.  I am developing on Windows and
using VS 2005.NET

The win form works fine on Mac but Mac hangs when trying to restart and
after about a minute Mac tells me "Logout has timed out because the
application mono failed to quit.... " and I have to do a manual force quit
and select mono.

Are there any workarounds?  What are others doing until this bug is fixed. 
This issue has been around since mono 2.0 I believe.
Can my app detect a Mac restart command and shut down my program manually or
Or can I change the order of applications that are set to quit automatically
I think if mono is set to quit last, then my program will quit first and
then mono should auto quit...

thanks for any tips.
View this message in context: http://www.nabble.com/How-to-quit-mono-gracefully-when-Mac-OS-X-10.5.x-restarts-tp25909450p25909450.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list