mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
Merge pull request #12750 from foleyfactor/fix-hanging-messages
TJ told me to merge
This commit is contained in:
@@ -262,12 +262,10 @@ 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) {
|
||||||
mch_errmsg(e_outofmem);
|
mch_errmsg(e_outofmem);
|
||||||
|
Reference in New Issue
Block a user