Set qjs stack limit to 7MB (#26489)

* Set qjs stack limit to 7MB

* Update distribution/changelog.txt

Co-authored-by: Michał Janiszewski <janisozaur@users.noreply.github.com>

---------

Co-authored-by: Michał Janiszewski <janisozaur@users.noreply.github.com>
This commit is contained in:
mrmbernardiandMichał Janiszewski authored and GitHub committed 2026-05-16 17:26:29 +02:00
1 parent 169e7345f7
commit e4ba212574
4 files changed
+15 -15

No files matched your search

+1 -2
View File
@@ -490,8 +490,7 @@ void ScriptEngine::Initialise()
#endif
}
// Disable maximum stack size limit for the JS engine.
JS_SetMaxStackSize(_runtime, 0);
JS_SetMaxStackSize(_runtime, kJsStackSize);
_replContext = JS_NewContext(_runtime);
if (!_replContext)