The patch causes crash.

:lua x = vim.dict()

:let x = luaeval("x")
:unlet x
:call garbagecollect()
:" waste memory to reuse memory used for x ...
:for i in range(9999) | let foo = repeat('foo', 9999) | endfor

:lua print(x.abc)
crash...


dict->dv_refcount++ doesn't guard object from garbagecollect.

-- 
Yukihiro Nakadaira - yukihiro.nakada...@gmail.com

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui