repo: fix listener connecting
This commit is contained in:
parent
866f97908a
commit
fcef8df9c1
|
@ -88,7 +88,6 @@ namespace SparkleLib {
|
||||||
|
|
||||||
if (hg.ExitCode == 0) {
|
if (hg.ExitCode == 0) {
|
||||||
return true;
|
return true;
|
||||||
//FetchRebaseAndPush ();TODO
|
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,7 +113,7 @@ namespace SparkleLib {
|
||||||
SyncDownBase ();
|
SyncDownBase ();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.is_polling && !this.listener.IsConnecting)
|
if (this.is_polling && !this.listener.IsConnecting && !this.listener.IsConnected)
|
||||||
this.listener.Connect ();
|
this.listener.Connect ();
|
||||||
|
|
||||||
// In the unlikely case that we haven't synced up our
|
// In the unlikely case that we haven't synced up our
|
||||||
|
|
Loading…
Reference in a new issue