Mike Pall
1c27912705
Print errors from __gc finalizers instead of rethrowing them.
...
Finalizers are not supposed to throw errors -- this is undefined behavior.
Lua 5.1 - 5.3 and (previously) LuaJIT rethrow the error. This randomly
breaks some unrelated code that just happens to do an allocation. Bad.
Lua 5.4 catches the error and emits a warning instead. But warnings are
not enabled by default, so it fails silently. Even worse.
LuaJIT (now) catches the error and emits a VM event. The default event
handler function prints "ERROR in finalizer: ...".
Set a custom handler function with: jit.attach(handler, "errfin")
2023-04-16 18:13:48 +02:00
..
2023-02-21 16:54:04 +01:00
2022-08-15 14:16:58 +02:00
2014-12-08 01:58:05 +01:00
2017-04-07 12:38:05 +02:00
2023-04-16 18:13:48 +02:00
2022-12-22 00:52:04 +01:00
2022-12-22 00:52:04 +01:00
2022-09-13 13:43:03 +02:00
2022-01-15 19:42:30 +01:00
2022-07-13 00:37:14 +02:00
2022-01-15 19:30:54 +01:00
2022-06-08 14:24:57 +02:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-06-08 14:24:57 +02:00
2022-08-07 20:04:52 +02:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-04-17 23:41:39 +02:00
2020-06-15 12:21:05 +02:00
2022-08-10 19:27:53 +02:00
2023-01-04 10:30:59 +01:00
2022-12-07 18:38:22 +01:00
2022-12-07 18:38:22 +01:00
2022-12-22 00:52:04 +01:00
2022-12-07 18:38:22 +01:00
2022-07-27 11:32:33 +02:00
2022-04-05 09:55:15 +02:00
2022-01-15 19:30:54 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:30:54 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-03-07 09:42:59 +01:00
2022-01-15 19:42:30 +01:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:30:54 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2010-11-09 12:09:54 +01:00
2012-08-25 23:02:29 +02:00
2022-08-07 20:04:52 +02:00
2022-01-15 19:30:54 +01:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:42:30 +01:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:42:30 +01:00
2022-12-22 00:52:04 +01:00
2022-07-13 00:37:14 +02:00
2022-11-27 15:25:32 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-06-08 14:24:57 +02:00
2022-12-22 00:52:04 +01:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2023-01-04 10:44:18 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:30:54 +01:00
2022-09-13 13:43:03 +02:00
2022-01-15 19:30:54 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:30:54 +01:00
2023-04-16 18:13:48 +02:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:30:54 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-03-08 19:44:10 +01:00
2022-03-08 19:44:10 +01:00
2022-12-07 18:38:22 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-23 19:19:26 +01:00
2022-01-15 19:30:54 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:30:54 +01:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:42:30 +01:00
2023-04-16 13:29:58 +02:00
2022-03-08 19:44:10 +01:00
2022-01-15 19:42:30 +01:00
2022-03-20 11:29:17 +01:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:30:54 +01:00
2022-09-12 11:16:20 +02:00
2022-01-15 19:42:30 +01:00
2022-09-12 11:16:20 +02:00
2022-01-15 19:42:30 +01:00
2023-04-16 13:29:58 +02:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-25 22:18:20 +01:00
2022-01-15 19:42:30 +01:00
2023-02-21 17:07:37 +01:00
2022-01-15 19:42:30 +01:00
2022-12-22 00:03:06 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:42:30 +01:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-16 20:59:10 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-03-08 19:44:10 +01:00
2022-01-15 19:42:30 +01:00
2023-04-16 18:13:48 +02:00
2022-12-22 00:52:04 +01:00
2022-01-15 19:42:30 +01:00
2020-10-12 16:18:02 +02:00
2009-12-08 19:49:20 +01:00
2022-01-15 19:42:30 +01:00
2022-01-27 22:26:14 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2022-01-15 19:42:30 +01:00
2023-04-16 18:13:48 +02:00
2022-01-15 19:42:30 +01:00
2022-11-22 09:52:56 +01:00
2022-11-27 15:36:11 +01:00
2022-11-27 15:36:11 +01:00
2021-03-26 18:14:59 +01:00
2022-12-07 18:38:22 +01:00
2022-03-08 19:44:10 +01:00
2022-03-08 19:44:10 +01:00
2022-03-08 19:44:10 +01:00
2022-03-08 19:44:10 +01:00
2022-07-08 15:12:43 +02:00
2022-07-08 15:12:43 +02:00
2021-03-26 18:14:59 +01:00
2021-03-26 18:14:59 +01:00