Commit 6e44e4e
authored
Fix for missing default settings at startup. (#8172)
* Fix for missing default settings at startup.
guard against no context elements on shutdown. A context is created for the project or for each workspace or for each repl.
* adding try/catch
* use FirstOrDefault
* fix race condition where repl context has no InterpreterConfiguration set yet.1 parent a912e3f commit 6e44e4e
File tree
1 file changed
+13
-3
lines changed- Python/Product/PythonTools/PythonTools/LanguageServerClient
1 file changed
+13
-3
lines changedLines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
370 | 374 | | |
371 | 375 | | |
372 | | - | |
| 376 | + | |
373 | 377 | | |
374 | 378 | | |
375 | | - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
376 | 386 | | |
377 | 387 | | |
378 | 388 | | |
379 | 389 | | |
380 | 390 | | |
381 | 391 | | |
382 | 392 | | |
383 | | - | |
| 393 | + | |
384 | 394 | | |
385 | 395 | | |
386 | 396 | | |
| |||
0 commit comments