From cc48c95ca7abe6949e637ca537a3e75a2de2fac4 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 14 Oct 2017 18:28:56 +0100 Subject: [PATCH] Profiler: Fix var args not being passed to callback register function Fixes #6517 --- builtin/profiler/instrumentation.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/profiler/instrumentation.lua b/builtin/profiler/instrumentation.lua index be3a460e5..7c21859d3 100644 --- a/builtin/profiler/instrumentation.lua +++ b/builtin/profiler/instrumentation.lua @@ -133,7 +133,7 @@ local function instrument_register(func, func_name) return func(instrument { func = callback, func_name = register_name - }), ... + }, ...) end end -- 2.25.1