Skip to content

Commit 898efd4

Browse files
1 parent c948ecb commit 898efd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shell/script/quickjspp.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,6 +1480,7 @@ class Runtime {
14801480

14811481
Runtime() {
14821482
rt = JS_NewRuntime();
1483+
JS_SetMaxStackSize(rt, 0);
14831484
if (!rt)
14841485
throw std::runtime_error{"qjs: Cannot create runtime"};
14851486

0 commit comments

Comments
 (0)