Loading spinner while validating next/done (#1975)

This commit is contained in:
Matt Irvine
2018-07-19 17:31:30 -07:00
committed by GitHub
parent d14c73fad5
commit 8a17bae7a6
6 changed files with 123 additions and 15 deletions

View File

@@ -213,12 +213,16 @@ class BackgroundOperationHandler {
}
public createOperation(): void {
if (!this._operationInfo) {
return;
}
if (!this._operationInfo.operationId) {
let uniqueId = generateUuid();
this._operationInfo.operationId = 'OperationId' + uniqueId + this._name;
}
if (this._operationInfo && this._operationInfo.operation) {
if (this._operationInfo.operation) {
this._extHostTaskManagement.$registerTask(this._operationInfo);
}
}