Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-52519

Initialize MozJS in a MONGO_INITIALIZER

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      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.

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: