aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-05 13:55:53 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-06 04:22:06 -0300
commitd83868fe9071af1b4866594eac12f7aa0fa71b53 (patch)
tree42bdfa20a8247d278a4a82039a98a1b8e01a67c9 /test/functional/helpers.lua
parent8979ede45d14195081f1e4fbd3358e7397d4c64f (diff)
downloadrneovim-d83868fe9071af1b4866594eac12f7aa0fa71b53.tar.gz
rneovim-d83868fe9071af1b4866594eac12f7aa0fa71b53.tar.bz2
rneovim-d83868fe9071af1b4866594eac12f7aa0fa71b53.zip
channel: Delay notifications to avoid client race conditions
It is currently possible for a client to send a response that doesn't match the current server->client request(at the top of the stack). This commit fixes that by delaying notifications to until the first `channel_send_call` invocation returns. Also remove the "call stack" size check, vim will already break if the call stack goes too deep.
Diffstat (limited to 'test/functional/helpers.lua')
0 files changed, 0 insertions, 0 deletions