From 359d8230f115375e148ad9828475dec90e852eb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 21 Mar 2019 10:38:05 +0800 Subject: =?UTF-8?q?=E6=8A=8A=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF=E6=8A=9B?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/service.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/service.lua b/server/src/service.lua index 4a5509e7..214e3f41 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -491,7 +491,7 @@ function mt:_createCompileTask() self:doDiagnostics(self._lastLoadedVM) local uri = self._needCompile[1] if uri then - self:compileVM(uri) + pcall(function () self:compileVM(uri) end) else uri = next(self._needDiagnostics) if uri then -- cgit v1.2.3