Commit ba1fb5d
committed
Do not schedule any new tasks in
This is what `shutDown()` is documented to do. I also remember having this check before, it might have gotten lost during a rebase when I was working on #2081.
I noticed this while investigating #2152: In this case `buildTarget/prepare` was cancelled because the SourceKit-LSP server was shut down but indexing of a file was still started after the shutdown now that preparation had finished (because it was cancelled).TaskScheduler if it has been shut down1 parent 863c0e2 commit ba1fb5d
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
516 | 519 | | |
517 | 520 | | |
518 | 521 | | |
| |||
0 commit comments