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