ngx_http_js_module
ngx_http_js_module copied to clipboard
use JS_EnterLocalRootScope
wrap all GC-potential callbacks with local root scopes. Like this:
JS_EnterLocalRootScope() JS_ValueToNumber(…) JS_LeaveLocalRootScope()