Merge remote-tracking branch 'origin/master' into remove-ppromise

This commit is contained in:
Joao Moreno
2018-08-07 12:53:07 +02:00
89 changed files with 919 additions and 507 deletions

View File

@@ -416,7 +416,7 @@ export class FileIndexSearchManager {
sortedSearch.then(complete => {
this.sendAsBatches(complete.results, onBatch, FileIndexSearchManager.BATCH_SIZE);
c(complete);
}, e, onBatch);
}, e);
}, () => {
sortedSearch.cancel();
});