Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
) ## Motivation Currently, the `Filtered` type's `Layer` impl accidentally calls the inner `Filter`'s `on_enter` hook in the `on_exit` hook. This is...obviously wrong, lol, and means that filters like `EnvFilter` will never consider spans to have exited, breaking filtering behavior. @tfreiberg-fastly originally noticed this bug (see #1983 (comment)), but I wanted to make the change separately from PR #1983 so that we can fix it on the main branch without waiting for #1983 to merge first. ## Solution This branch, uh, you know... fixes that.
- Loading branch information