Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
streaminfo/mocks: delay filter_state_ dereference (#14612)
By dereferencing filter_state_ in the constructor, any test that sets filter_state_ will dereference an invalid pointer. This may not be a common use-case, but it came up when writing some microbenchmarks for a custom filter where I needed to reset the FilterState on each iteration of the benchmark. Signed-off-by: Brian Wolfe <[email protected]>
- Loading branch information