Commit c425a3e
committed
Fix #221: Occasional init hang in LanguageServer
This change fixes an issue in the LanguageServer where the length of time
that it takes to evaluate the extension API script can cause the
"initialize" request to not complete. This leaves the VS Code language
server client in an initializing state where no language features will
work for the rest of the session. The fix is to execute the extension API
script after the "initialize" handler has been registered.1 parent f58c82b commit c425a3e
File tree
1 file changed
+5
-5
lines changed- src/PowerShellEditorServices.Protocol/Server
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 77 | | |
83 | 78 | | |
84 | 79 | | |
| |||
107 | 102 | | |
108 | 103 | | |
109 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments