We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7722415 commit a4a64ebCopy full SHA for a4a64eb
arduino-ide-extension/src/browser/contributions/burn-bootloader.ts
@@ -37,11 +37,15 @@ export class BurnBootloader extends CoreServiceContribution {
37
'arduino/bootloader/burningBootloader',
38
'Burning bootloader...'
39
),
40
- task: (progressId, coreService) =>
41
- coreService.burnBootloader({
42
- ...options,
43
- progressId,
44
- }),
+ task: (progressId, coreService, token) =>
+ coreService.burnBootloader(
+ {
+ ...options,
+ progressId,
45
+ },
46
+ token
47
+ ),
48
+ cancelable: true,
49
});
50
this.messageService.info(
51
nls.localize(
0 commit comments