Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 0f65db3

Browse files
committed
Remove request id entries once we get a response
1 parent 5add331 commit 0f65db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsps0/msgs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ impl<'de, 'a> Visitor<'de> for LSPSMessageVisitor<'a> {
441441
method
442442
))),
443443
},
444-
None => match self.request_id_to_method_map.get(&id) {
444+
None => match self.request_id_to_method_map.remove(&id) {
445445
Some(method) => match method.as_str() {
446446
LSPS0_LISTPROTOCOLS_METHOD_NAME => {
447447
if let Some(error) = error {

0 commit comments

Comments
 (0)