Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the definition of the "entry" concept
It turns out that the "entrance counter" concept was unnecessary. Whenever we run script, we increment it, and whenever we clean up after running script, we decrement it. So it is always nonzero. Thus we can simply look for whether it's a realm execution context. Fixes #2441.
- Loading branch information
Showing
1 changed file
with
8 additions
and
14 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