| 23 | #include <stdexcept> |
| 24 | |
| 25 | JobQueue::JobQueue(JSContext *cx) { |
| 26 | finalizationRegistryCallbacks = new JS::PersistentRooted<FunctionVector>(cx); // Leaks but it's OK since freed at process exit |
| 27 | } |
| 28 | |
| 29 | bool JobQueue::getHostDefinedData(JSContext *cx, JS::MutableHandle<JSObject *> data) const { |
| 30 | data.set(nullptr); // We don't need the host defined data |
nothing calls this directly
no outgoing calls
no test coverage detected