[SERVER-52519] Initialize MozJS in a MONGO_INITIALIZER Created: 30/Oct/20  Updated: 27/Dec/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Benjamin Caimano (Inactive) Assignee: Backlog - Query Integration
Resolution: Unresolved Votes: 0
Labels: qi-javascript, qi-tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Query Integration
Participants:

 Description   

We call JS_Init() and JS_ShutDown() as part of the ctor/dtor for MozJSScriptEngine here. These functions can only be called once per process each. This seems like a natural fit for a MONGO_INITIALIZER.


Generated at Thu Feb 08 05:28:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.