Replies: 2 comments 1 reply
-
Yes, because there's no tracking what you've set (or replaced). For fresh start either use new engine instance or try ShadowRealm. |
Beta Was this translation helpful? Give feedback.
0 replies
-
How should ShadowRealm be used? I looked at the Engine constructor, and it looks like there is a lot of allocation and setup going when you new one up. It seems unnecessarily expensive if you just want to reset to a starting state between frequent repeated executions. Is there are practical way to reset to the starting state? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After calling SetValue() several times to set values and calling a script, I'd like to clear out everything I set, and then set new values before executing another script. Is there a reason there isn't a ClearValues() method on Engine?
Beta Was this translation helpful? Give feedback.
All reactions