Initialize MozJS in a MONGO_INITIALIZER

XMLWordPrintableJSON

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

      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:
              [DO NOT USE] Backlog - Query Integration
              Reporter:
              Benjamin Caimano (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: