progress - show window progress early

This commit is contained in:
Johannes Rieken
2017-01-19 12:26:21 +01:00
parent a918a06d9c
commit 385a2e549e

View File

@@ -74,9 +74,9 @@ export class ProgressService2 implements IProgressService2 {
title
};
this._stack.unshift(task);
const promise = callback(task.progress);
this._stack.unshift(task);
this._updateProgress();
always(promise, () => {
const idx = this._stack.indexOf(task);