diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-16 17:45:15 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-16 17:45:15 +0800 |
commit | 4dc47156c80ef19b8649c603a8f9f1f5e0e66ba8 (patch) | |
tree | c7838e0e4982e182fc7879b3665c2302d6862a6d /server/main.lua | |
parent | 2c185dc55131dd7ccd490e53b5f44c48461687fe (diff) | |
download | lua-language-server-4dc47156c80ef19b8649c603a8f9f1f5e0e66ba8.zip |
修正一个泄露:全局函数的返回值需要标记为全局
Diffstat (limited to 'server/main.lua')
-rw-r--r-- | server/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main.lua b/server/main.lua index 685fce01..ac7860c5 100644 --- a/server/main.lua +++ b/server/main.lua @@ -22,7 +22,7 @@ local function tryDebugger() log.info('Debugger startup, listen port: 11411') end -pcall(tryDebugger) +--pcall(tryDebugger) require 'utility' require 'global_protect' |