1
0
forked from aniani/vim

patch 8.1.1019: Lua: may garbage collect function reference in use

Problem:    Lua: may garbage collect function reference in use.
Solution:   Keep the function name instead of the typeval. Make luaV_setref()
            handle funcref objects. (Ozaki Kiichi, closes #4127)
This commit is contained in:
Bram Moolenaar
2019-03-19 21:59:19 +01:00
parent 8376c3d321
commit 4eefe47ea4
3 changed files with 82 additions and 63 deletions

View File

@@ -779,6 +779,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1019,
/**/
1018,
/**/