From c41d042dd059deeba3c4c9ae029fd9bea45fdee8 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 25 Jun 2021 18:16:10 +0300 Subject: [PATCH] wplua: remove handling of LUA_ERRGCMM, which is removed in lua 5.4 --- lib/wplua/wplua.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/wplua/wplua.c b/lib/wplua/wplua.c index 1d158089..7e898b5d 100644 --- a/lib/wplua/wplua.c +++ b/lib/wplua/wplua.c @@ -68,9 +68,6 @@ _wplua_pcall (lua_State *L, int nargs, int nret) case LUA_ERRERR: wp_critical ("error running the message handler"); break; - case LUA_ERRGCMM: - wp_critical ("error running __gc"); - break; default: break; }