degesch: pop() the Lua error in timer dispatch
This commit is contained in:
		@@ -7667,6 +7667,8 @@ lua_timer_hook_dispatch (void *user_data)
 | 
			
		||||
	{
 | 
			
		||||
		struct error *e = NULL;
 | 
			
		||||
		(void) lua_plugin_process_error (plugin, lua_tostring (L, -1), &e);
 | 
			
		||||
		lua_pop (L, 1);
 | 
			
		||||
 | 
			
		||||
		log_global_error (plugin->ctx, "Lua: plugin \"#s\": #s: #s",
 | 
			
		||||
			plugin->super.name, "timer hook", e->message);
 | 
			
		||||
		error_free (e);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user