diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-09-16 11:34:40 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-09-18 14:50:36 -0300 |
commit | e897ccad3eb1eb8d423766300be9c6055fcd1d9f (patch) | |
tree | 0037b05c1a27aaaf31c038a32f3a64100a8f3ccf /test/functional/eval/msgpack_functions_spec.lua | |
parent | 47cbbc0b8c864bdb1aaa572f0396642e2c66deae (diff) | |
download | rneovim-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