We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2c7a1 commit 41830a7Copy full SHA for 41830a7
internal/arduino/builder/internal/detector/detector.go
@@ -335,6 +335,7 @@ func (l *SketchLibrariesDetector) findIncludes(
335
for _, sourceFile := range *sourceFileQueue {
336
l.preRunner.Enqueue(l.gccPreprocessTask(sourceFile, buildProperties))
337
}
338
+ defer l.preRunner.Cancel()
339
340
341
@@ -432,7 +433,7 @@ func (l *SketchLibrariesDetector) findMissingIncludesInCompilationUnit(
432
433
if l.preRunner != nil {
434
preRunner := l.preRunner
435
l.preRunner = nil
- go preRunner.Cancel()
436
+ preRunner.Cancel()
437
438
439
// Run the actual preprocessor
0 commit comments