don't block the event log on initial startup syncs

This commit is contained in:
Hylke Bons 2012-10-16 12:21:44 +01:00
parent 2c94a9938d
commit 8c7108e83f

View file

@ -195,14 +195,17 @@ namespace SparkleLib {
// Sync up everything that changed
// since we've been offline
if (!this.is_syncing && (HasLocalChanges || HasUnsyncedChanges)) {
SyncUpBase ();
while (HasLocalChanges)
new Thread (() => {
if (!this.is_syncing && (HasLocalChanges || HasUnsyncedChanges)) {
SyncUpBase ();
}
this.remote_timer.Start ();
while (HasLocalChanges && !this.is_syncing)
SyncUpBase ();
}
this.remote_timer.Start ();
}).Start ();
}