diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-30 11:09:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-30 11:09:43 +0800 |
commit | df3f1879b0a0a7debf488aa89b98cc969bbfe5af (patch) | |
tree | 4a7d8d1963d39e04637e5ed54cf40fbe8c099b9d /script/service/telemetry.lua | |
parent | c2e114ddc035b096baed3931b1a8b6a08458f42e (diff) | |
download | lua-language-server-df3f1879b0a0a7debf488aa89b98cc969bbfe5af.zip |
some fix
Diffstat (limited to 'script/service/telemetry.lua')
-rw-r--r-- | script/service/telemetry.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/telemetry.lua b/script/service/telemetry.lua index 52ad193b..c5f73a36 100644 --- a/script/service/telemetry.lua +++ b/script/service/telemetry.lua @@ -68,7 +68,7 @@ timer.wait(5, function () if not suc then suc, link = pcall(net.connect, 'tcp', '119.45.194.183', 11577) end - if not suc then + if not suc or not link then return end function link:on_connect() |