Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent leak of StackContexts in repeated gen.engine functions.
Internally, StackContexts now return a deactivation callback, which can be used to prevent that StackContext from propagating further. This is used in gen.engine because the decorator doesn't know which arguments are callbacks that need to be wrapped outside of its ExceptionStackContext. This is deliberately undocumented for now. Closes #507.
- Loading branch information
Showing
4 changed files
with
71 additions
and
12 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
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