From 338b2ce84a3a3dc29ace7c6646772c411ca1b209 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 29 Jun 2011 21:55:58 +0100 Subject: [PATCH] mac: terminate the cocoa way --- SparkleShare/Mac/SparkleMacController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SparkleShare/Mac/SparkleMacController.cs b/SparkleShare/Mac/SparkleMacController.cs index 5c0d462a..9e1a1080 100644 --- a/SparkleShare/Mac/SparkleMacController.cs +++ b/SparkleShare/Mac/SparkleMacController.cs @@ -180,6 +180,7 @@ namespace SparkleShare { new public void Quit () { this.watcher.Dispose (); + NSApplication.SharedApplication.Terminate (new NSObject ()); base.Quit (); } }