Enhance ScriptManager to allow thread creation in JavaScript context
All checks were successful
Build JStom / build (push) Successful in 1m23s
All checks were successful
Build JStom / build (push) Successful in 1m23s
This commit is contained in:
@@ -41,6 +41,7 @@ public class ScriptManager {
|
||||
.allowHostAccess(HostAccess.ALL)
|
||||
.allowHostClassLookup(s -> true)
|
||||
.allowIO(true)
|
||||
.allowCreateThread(true)
|
||||
.allowExperimentalOptions(true)
|
||||
.option("js.commonjs-require", "true")
|
||||
.option("js.commonjs-require-cwd", scriptsDir.getAbsolutePath())
|
||||
|
||||
Reference in New Issue
Block a user