Don't swallow errors in finalizers.

This commit is contained in:
Philipp Janda 2016-02-24 00:48:43 +01:00
parent 9ffd96724d
commit 9fe38c654f
3 changed files with 2 additions and 4 deletions

View file

@ -5,7 +5,6 @@ local finalizer_called
local func = socket.protect(function(err, ...)
local try = socket.newtry(function()
finalizer_called = true
error("ignored")
end)
if err then