Skip to content
Permalink
Browse files
Merge pull request #9566 from timneutkens/fix/profiling-callback-over…
…ride

Fix asyncHook callback interceptor for ProfilingPlugin
  • Loading branch information
sokra committed Aug 12, 2019
2 parents ba56f7e + 069c33a commit 7ea8665f22f52572870e567a0587186d47667266
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/debug/ProfilingPlugin.js
@@ -391,8 +391,8 @@ const makeNewProfiledTapFn = (hookName, tracer, { name, type, fn }) => {
id,
cat: defaultCategory
});
const callback = args.pop();
fn(...args, (...r) => {
const callback = args.pop();
tracer.trace.end({
name,
id,

0 comments on commit 7ea8665

Please sign in to comment.