(QuickJSContext ctx, ExecutorService executor)
| 40 | private volatile boolean destroyed; |
| 41 | |
| 42 | private Global(QuickJSContext ctx, ExecutorService executor) { |
| 43 | this.executor = executor; |
| 44 | this.timerId = new AtomicInteger(); |
| 45 | this.timers = new ConcurrentHashMap<>(); |
| 46 | this.timer = new Timer("quickjs-timer", true); |
| 47 | this.ctx = ctx; |
| 48 | setProperty(); |
| 49 | } |
| 50 | |
| 51 | public static Global create(QuickJSContext ctx, ExecutorService executor) { |
| 52 | return new Global(ctx, executor); |
nothing calls this directly
no test coverage detected