Commit 7b6192c
committed
fix: getFileDiagnostics waits forever
Makes sure that 'getFileDiagnostics' internal promises are resolved.
In some code paths the 'getFileDiagnostics' tool function constructed
a promise to wait between 500ms-5000ms for diagnostics. However this
promise did never resolve, leading to an endless wait.
fixes #152991 parent c68ef33 commit 7b6192c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
0 commit comments