summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-19 11:02:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-19 11:02:02 +0800
commit7a365249a48a9c947e3269c9e34c0a7ae9230377 (patch)
tree0fe01a928e34cb9978da5cfa1f5bfc2d16034b36
parent21342639524fac1ec888a0d6d2ab368237a03263 (diff)
downloadlua-language-server-7a365249a48a9c947e3269c9e34c0a7ae9230377.zip
应该是break
-rw-r--r--server/src/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index fff52e01..62131446 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -209,7 +209,7 @@ function mt:on_tick()
while true do
local proto = thread.proto()
if not proto then
- return
+ break
end
if proto.method then
self:_doProto(proto)