Commit d369638
committed
Avoid sending an "empty" (lacking project data) startup event.
- When the language server import takes too long (>60s), an "empty"
startup event is sent to at least capture some data. This can result
in duplicate events when a project import finally completes, or a
(now) useless event if something goes wrong.
- Avoid sending such events as there are better ways to determine if the
language server encountered an error
Signed-off-by: Roland Grunberg <[email protected]>1 parent 248e976 commit d369638
1 file changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | | - | |
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
| |||
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 57 | | |
67 | 58 | | |
68 | 59 | | |
| |||
0 commit comments