From f314a74287ddf840c64e28a1fd6053e9a7bc2368 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 26 Oct 2011 07:08:47 +0000 Subject: [PATCH] If the thread stack is set to zero, disable checking. --- src/sbbs3/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index 2888d9a515..4d08275e9a 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -1159,6 +1159,8 @@ bool sbbs_t::js_init(ulong* stack_frame) lprintf(LOG_DEBUG,"%s JavaScript: Thread stack limit: %lu bytes" ,node, startup->js.thread_stack); } + else + JS_SetThreadStackLimit(js_cx, 0); success=true; -- GitLab