mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 21:39:43 +00:00
allow cb to be called if task is not cancellable
This commit is contained in:
parent
5f651ee5c3
commit
6cc34bb4f6
|
@ -309,7 +309,7 @@ export class ProgressService2 implements IProgressService2 {
|
|||
disposables.push(attachDialogStyler(dialog, this._themeService));
|
||||
|
||||
dialog.show().then(() => {
|
||||
if (options.cancellable && typeof onDidCancel === 'function') {
|
||||
if (typeof onDidCancel === 'function') {
|
||||
onDidCancel();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue