Skip to content

Commit

Permalink
Tighten the backtrace pollution from passing through callbacks
Browse files Browse the repository at this point in the history
Callbacks are everywhere, so it's better if we can avoid making a mess
of the backtrace just because we've passed through a callback hook.

I'm making no effort to the before/after invocations: those only affect
backtraces while they're running. The calls that matter are the ones
that remain on the call stack after run_callbacks yields: around
callbacks, and internal book-keeping around the before/afters.
  • Loading branch information
matthewd committed Sep 29, 2016
1 parent 268a5bb commit 871ca21
Show file tree
Hide file tree
Showing 2 changed files with 274 additions and 135 deletions.

0 comments on commit 871ca21

Please sign in to comment.