Skip to content
New issue

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

Fix a EnsureSufficientExecutionStack method for older versions of .NET #92

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Fix a EnsureSufficientExecutionStack method for older versions of .NET #92

merged 1 commit into from
Oct 26, 2023

Conversation

Taritsyn
Copy link
Contributor

Hello, Akash!

After upgrading to version 1.2.192, even running simple code on older versions of .NET leads to errors like this:

YantraJS.Core.JSException: RangeError: undefined
   at YantraJS.Core.Core.JSContextExtensions.EnsureSufficientExecutionStack(JSContext context)
   at YantraJS.Core.CallStackItem..ctor(JSContext context, String fileName, StringSpan& function, Int32 line, Int32 column)
   at body-:0,0(Closures , Arguments& )
   at YantraJS.Core.JSContext.Eval(String code, String codeFilePath)
   …

This PR fixes a error.

@ackava ackava merged commit 9707995 into yantrajs:main Oct 26, 2023
1 check failed
@ackava
Copy link
Contributor

ackava commented Oct 26, 2023

@Taritsyn Thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants