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

Initialize MozJS in a MONGO_INITIALIZER

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • Query Integration

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: