Commit 196d1c2
committed
Server should crash on unhandled exceptions in message loop
This change causes all unhandled exceptions to crash the server so that
the user is not left with an inoperative language service. This was the
expected behavior before the recent redesign changed how the exception
gets propagated all the way back to the EditorServicesHost. The host
will now throw the unhandled exception from the WaitForCompletion
method causing the process to exit.1 parent 9a9e2b8 commit 196d1c2
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
| |||
252 | 254 | | |
253 | 255 | | |
254 | 256 | | |
| 257 | + | |
| 258 | + | |
255 | 259 | | |
256 | 260 | | |
257 | 261 | | |
| |||
394 | 398 | | |
395 | 399 | | |
396 | 400 | | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
397 | 410 | | |
398 | 411 | | |
399 | 412 | | |
| |||
0 commit comments