Not hard crashing when error is encountered

This commit is contained in:
2023-08-03 23:22:01 -04:00
parent 5359be0772
commit d50c187710
3 changed files with 22 additions and 33 deletions
-8
View File
@@ -52,9 +52,6 @@ function multi:newProxy(list)
c.is_init = false
local multi, thread = nil, nil
function c:init()
for i,v in pairs(self) do
print("Pattern",i,v)
end
local multi, thread = nil, nil
local function copy(obj)
if type(obj) ~= 'table' then return obj end
@@ -172,7 +169,6 @@ function multi:newProxy(list)
return self
end
end
function c:getTransferable()
local cp = {}
local multi, thread = require("multi"):init()
@@ -197,12 +193,8 @@ function multi:newProxy(list)
proxy.funcs = self.funcs
return proxy:init()
end
for i,v in pairs(cp) do
print("TRANS", i, v)
end
return cp
end
self:create(c)
return c
end