Commit 5097d3c
committed
Fix: Prevent server crash on shutdown if not initialized
Check if self.config is None in _hook to avoid AttributeError when
shutdown is called without a prior successful initialize request.
Signed-off-by: Matěj Cepl <[email protected]>1 parent bc1095f commit 5097d3c
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
269 | 271 | | |
270 | 272 | | |
271 | 273 | | |
| |||
0 commit comments