aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/helpers.lua
diff options
context:
space:
mode:
authorScott Prager <splinterofchaos@gmail.com>2015-04-03 12:35:12 -0400
committerScott Prager <splinterofchaos@gmail.com>2015-04-08 23:18:16 -0400
commit93a3e331a3e266b17115824f8f79dd296962de21 (patch)
tree908b674361d62b864254dacad4f3af6b1b80db2e /test/functional/terminal/helpers.lua
parentedbc9e6538daab972058bb8a821330eabbba954f (diff)
downloadrneovim-93a3e331a3e266b17115824f8f79dd296962de21.tar.gz
rneovim-93a3e331a3e266b17115824f8f79dd296962de21.tar.bz2
rneovim-93a3e331a3e266b17115824f8f79dd296962de21.zip
event: Only process if event_init has been run.
Reported by @fourjay, a codepath that causes event_poll() to run before event_init() will trigger a segfault as the events list will not have been initialized. Exiting immediately from event_init() causes nvim to hang, so just exit before running the events. fixes #2339
Diffstat (limited to 'test/functional/terminal/helpers.lua')
0 files changed, 0 insertions, 0 deletions