diff options
author | Philipp Janda <siffiejoe@gmx.net> | 2016-02-24 00:48:43 +0100 |
---|---|---|
committer | Philipp Janda <siffiejoe@gmx.net> | 2016-02-24 00:48:43 +0100 |
commit | 9fe38c654f6c62a4f11d993bd79c710af9313fbd (patch) | |
tree | 7c1aea50fa13a93d631c24555a705dcf3e3308be /test | |
parent | 9ffd96724da09352abe99c8525bbccb6bc34cb48 (diff) | |
download | luasocket-9fe38c654f6c62a4f11d993bd79c710af9313fbd.tar.gz luasocket-9fe38c654f6c62a4f11d993bd79c710af9313fbd.tar.bz2 luasocket-9fe38c654f6c62a4f11d993bd79c710af9313fbd.zip |
Don't swallow errors in finalizers.
Diffstat (limited to 'test')
-rw-r--r-- | test/excepttest.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/excepttest.lua b/test/excepttest.lua index 6904545..80c9cb8 100644 --- a/test/excepttest.lua +++ b/test/excepttest.lua | |||
@@ -5,7 +5,6 @@ local finalizer_called | |||
5 | local func = socket.protect(function(err, ...) | 5 | local func = socket.protect(function(err, ...) |
6 | local try = socket.newtry(function() | 6 | local try = socket.newtry(function() |
7 | finalizer_called = true | 7 | finalizer_called = true |
8 | error("ignored") | ||
9 | end) | 8 | end) |
10 | 9 | ||
11 | if err then | 10 | if err then |