mirror of https://github.com/helix-editor/helix
prevent panic when handling an LSP response with no request (#2475)
A language server may push a response which doesn't belong to any request. With this change, we discard the response rather than crashing. In the case of #2474, the language server sends an error message with a null request ID which should not ever exist in the `pending_requests` HashMap. closes #2474pull/2451/head^2
parent
0258cf45f3
commit
50dd11985c
Loading…
Reference in New Issue