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