mac: terminate the cocoa way

This commit is contained in:
Hylke Bons 2011-06-29 21:55:58 +01:00
parent 0944efe992
commit 051214f4f0

View file

@ -180,6 +180,7 @@ namespace SparkleShare {
new public void Quit () new public void Quit ()
{ {
this.watcher.Dispose (); this.watcher.Dispose ();
NSApplication.SharedApplication.Terminate (new NSObject ());
base.Quit (); base.Quit ();
} }
} }