diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-27 11:10:51 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-27 11:10:51 +0800 |
commit | 699d2a22f94b9c1c62838843e024ea8d2337eaaf (patch) | |
tree | 1c219367519307640af422090cd4540fca1d92a6 /server | |
parent | 409b85f6f50cecbbdeca37cb471ae8279991051e (diff) | |
download | lua-language-server-699d2a22f94b9c1c62838843e024ea8d2337eaaf.zip |
置空
Diffstat (limited to 'server')
-rw-r--r-- | server/src/vm/function.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/vm/function.lua b/server/src/vm/function.lua index 834863d6..fab90a06 100644 --- a/server/src/vm/function.lua +++ b/server/src/vm/function.lua @@ -29,6 +29,7 @@ end function mt:pop() local closed = self.finishs[self._top] local closedLocals = self.locals[self._top] + self.locals[self._top] = nil for _, loc in pairs(closedLocals) do loc:close(closed) end |