commit a3c730d1a091143707a08699ac2f3faec2347051
parent ca0477d9e93e16d37b224bbcddcd4bb7db167f43
Author: cfillion <cfillion@users.noreply.github.com>
Date: Mon, 7 Mar 2016 03:15:47 -0500
fix a crash when using >1 fresh indexes in a transaction
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp
@@ -147,6 +147,8 @@ void ReaPack::synchronizeAll()
for(const Remote &remote : remotes)
t->synchronize(remote);
+
+ t->runTasks();
}
void ReaPack::enable(Remote remote)
diff --git a/src/transaction.cpp b/src/transaction.cpp
@@ -108,7 +108,6 @@ void Transaction::fetchIndex(const Remote &remote, const IndexCallback &cb)
if(!dl) {
// the index was last downloaded less than a few seconds ago
cb();
- finish();
return;
}