mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
Stop bailing out of msgpack_parse if we see a response
This commit is contained in:
@@ -262,11 +262,9 @@ static void parse_msgpack(Channel *channel)
|
|||||||
call_set_error(channel, buf, ERROR_LOG_LEVEL);
|
call_set_error(channel, buf, ERROR_LOG_LEVEL);
|
||||||
}
|
}
|
||||||
msgpack_unpacked_destroy(&unpacked);
|
msgpack_unpacked_destroy(&unpacked);
|
||||||
// Bail out from this event loop iteration
|
} else {
|
||||||
return;
|
handle_request(channel, &unpacked.data);
|
||||||
}
|
}
|
||||||
|
|
||||||
handle_request(channel, &unpacked.data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result == MSGPACK_UNPACK_NOMEM_ERROR) {
|
if (result == MSGPACK_UNPACK_NOMEM_ERROR) {
|
||||||
|
Reference in New Issue
Block a user