mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.37k stars 241 forks source link

[Gtk] Application won't quit even after main window closed down. #170

Open aBothe opened 11 years ago

aBothe commented 11 years ago

, which causes a zombie-state of the actual process. I'd give this issue a high priority.

DavidKarlas commented 11 years ago

Xwt should implement something like this http://msdn.microsoft.com/en-us/library/system.windows.application.shutdownmode.aspx

And by default put on OnLastWindowClose. Atm Gtk is acting like its set on OnExplicitShutdown.

zatherz commented 6 years ago

Hello?

Edit: Just do this

MainWindow.Closed += (sender, e) => {
    Application.Exit();
};