Fix hang on quit. Closes #429
This commit is contained in:
parent
85e69ed678
commit
15c44e8925
|
@ -209,12 +209,5 @@ namespace SparkleShare {
|
||||||
url = url.Replace ("%20", " ");
|
url = url.Replace ("%20", " ");
|
||||||
NSWorkspace.SharedWorkspace.OpenFile (url);
|
NSWorkspace.SharedWorkspace.OpenFile (url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
new public void Quit ()
|
|
||||||
{
|
|
||||||
this.watcher.Dispose ();
|
|
||||||
base.Quit ();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,6 +108,7 @@ namespace SparkleShare {
|
||||||
NSApplication.SharedApplication.DockTile.BadgeLabel = null;
|
NSApplication.SharedApplication.DockTile.BadgeLabel = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override void WillTerminate (NSNotification notification)
|
public override void WillTerminate (NSNotification notification)
|
||||||
{
|
{
|
||||||
Program.Controller.Quit ();
|
Program.Controller.Quit ();
|
||||||
|
|
Loading…
Reference in a new issue