We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is an issue with function JsValue.ToObject. It causes a StackOverflowException for objects with circular references. The issue exists in
This issue seems to be related with #509.
Here is an example project: https://github.com/steffen-liersch/jint-demos/tree/master/jint-stack-overflow
StackOverflowException occurs when passing "global" to a managed function:
engine.Global.FastAddProperty("global", engine.Global, true, true, true); engine.Global.FastAddProperty("test", new DelegateWrapper(engine, (Action<object>)Test), true, true, true); engine.Execute("test(global);");
The text was updated successfully, but these errors were encountered:
@sebastienros @lahma Any chance to get this fixed soon in 3.x? Are there any other Ideas to prevent my App crashing because of that?
Sorry, something went wrong.
@sebastienros @lahma Perhaps we need a private overload for ToObject using a helper object that has dictionary containing already handled objects.
Jint will now throw TypeError when it detects cyclic reference.
TypeError
Successfully merging a pull request may close this issue.
There is an issue with function JsValue.ToObject. It causes a StackOverflowException for objects with circular references. The issue exists in
This issue seems to be related with #509.
Here is an example project: https://github.com/steffen-liersch/jint-demos/tree/master/jint-stack-overflow
StackOverflowException occurs when passing "global" to a managed function:
The text was updated successfully, but these errors were encountered: