diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-09-24 10:06:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-09-24 10:06:09 +0800 |
commit | 6cf50a3fdfe50baebdd2888b549c2238f35f0051 (patch) | |
tree | b8b5459802fce548d51eaf398d2c300f8af73a00 /server-beta/src/pub | |
parent | e3c493e3cd4954ac3f47e455025cc2922ab10099 (diff) | |
download | lua-language-server-6cf50a3fdfe50baebdd2888b549c2238f35f0051.zip |
附加子线程
Diffstat (limited to 'server-beta/src/pub')
-rw-r--r-- | server-beta/src/pub/pub.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server-beta/src/pub/pub.lua b/server-beta/src/pub/pub.lua index ca9d7382..bbd2ed89 100644 --- a/server-beta/src/pub/pub.lua +++ b/server-beta/src/pub/pub.lua @@ -13,6 +13,8 @@ package.cpath = %q collectgarbage 'generational' log = require 'brave.log' + +dofile(%q) local brave = require 'brave' brave.register(%d) ]] @@ -44,6 +46,7 @@ function m.recruitBraves(num) thread = thread.thread(braveTemplate:format( package.path, package.cpath, + (ROOT / 'debugger.lua'):string(), id )), taskMap = {}, |