Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't toggle profiler state when calling a profiled function recursiv…
…ely (#6834) In @Profile def foo(): if condition: foo() make sure we don't call `profiler.enable()` or `profiler.disable()` on recursive invocation of `foo`.
- Loading branch information