Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-1701

Process does not exit when using `new Realm.App` on Node

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

      To reproduce:

      1. Create a new node project with the following code in index.js:
        ```
        const Realm = require("realm");
        const app = new Realm.App( { id: "myapp-abcde" }

        );
        console.log(app id: ${app.id})
        // process.exit() <- need to call this to actually finish running
        ```

      2. Observe that node index.js never exits

      This issue seems to have started happening in realm@10.2.0. Possibly related: https://github.com/realm/realm-js/issues/3525.

      May be the real fix for https://github.com/realm/realm-js/issues/4530, in which case we can revert that change.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tom.duncalf@mongodb.com Tom Duncalf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: