Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call options fn on each invocation in tracer.wrap (#1191)
Because the options variable in tracer.wrap was being re-assigned, options functions were only being executing a single time, and then the same result would be cached. This is fixed by using a variable local to the function invocation. Fixes #1181
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters