aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/msgpack_functions_spec.lua
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-09-16 11:34:40 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-09-18 14:50:36 -0300
commite897ccad3eb1eb8d423766300be9c6055fcd1d9f (patch)
tree0037b05c1a27aaaf31c038a32f3a64100a8f3ccf /test/functional/eval/msgpack_functions_spec.lua
parent47cbbc0b8c864bdb1aaa572f0396642e2c66deae (diff)
downloadrneovim-e897ccad3eb1eb8d423766300be9c6055fcd1d9f.tar.gz
rneovim-e897ccad3eb1eb8d423766300be9c6055fcd1d9f.tar.bz2
rneovim-e897ccad3eb1eb8d423766300be9c6055fcd1d9f.zip
terminal: Don't store a buf_T reference in the terminal struct
Since vimscript can close buffers at any time, it is possible that a refresh_timer_cb will be called with an invalid buffer, but there's no way to detect this if only a reference is stored because the memory can be reused by the allocator. Use buf_T->handle which is guaranteed to be unique.
Diffstat (limited to 'test/functional/eval/msgpack_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions