Fix quit method
This commit is contained in:
parent
85626a6da2
commit
e4720628cc
|
@ -1182,7 +1182,7 @@ namespace SparkleLib {
|
||||||
LocalTimer.Dispose ();
|
LocalTimer.Dispose ();
|
||||||
Listener.Dispose ();
|
Listener.Dispose ();
|
||||||
|
|
||||||
base.Dispose ();
|
//base.Dispose ();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1268,11 +1268,9 @@ namespace SparkleShare {
|
||||||
public void Quit ()
|
public void Quit ()
|
||||||
{
|
{
|
||||||
|
|
||||||
// FIXME: this blocks
|
foreach (SparkleRepo repo in Repositories)
|
||||||
// foreach (SparkleRepo repo in Repositories)
|
repo.Dispose ();
|
||||||
// repo.Dispose ();
|
|
||||||
|
|
||||||
// FIXME: Never exits
|
|
||||||
Environment.Exit (0);
|
Environment.Exit (0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue