aboutsummaryrefslogtreecommitdiff
path: root/scripts/genvimvim.lua
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2015-08-06 14:31:53 +0200
committeroni-link <knil.ino@gmail.com>2015-08-21 10:53:31 +0200
commit250aca4f8938ded5bf7dfbc56904b4e696d219b1 (patch)
treee86d67130d76035bf65fba35c03c517b42e2c294 /scripts/genvimvim.lua
parent0ec6a9c3c3f1fd6e76941895248c968b436581c7 (diff)
downloadrneovim-250aca4f8938ded5bf7dfbc56904b4e696d219b1.tar.gz
rneovim-250aca4f8938ded5bf7dfbc56904b4e696d219b1.tar.bz2
rneovim-250aca4f8938ded5bf7dfbc56904b4e696d219b1.zip
terminal.c: Events in terminal_enter() should not free the terminal
It is possible for a processed event in the input loop of terminal_enter() to destroy the terminal. But this is undetected by the function and it still tries to use the freed terminal. Use a reference count to delay the freeing of the terminal until terminal_enter() returns. Fixes #3112
Diffstat (limited to 'scripts/genvimvim.lua')
0 files changed, 0 insertions, 0 deletions