Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 7ea8665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debug/ProfilingPlugin.js
Expand Up @@ -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,
Expand Down

0 comments on commit 7ea8665

Please sign in to comment.