diff options
Diffstat (limited to 'server/src/service.lua')
-rw-r--r-- | server/src/service.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 0c533b35..a66864a8 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -332,6 +332,9 @@ function mt:compileVM(uri) else return nil end + if obj.vm then + obj.vm:remove() + end obj.vm = vm obj.vmCost = os.clock() - clock obj.vmVersion = version |