Object has been destroyed after closing connect window during startup

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 1.16.0-beta.7, 1.15.4
    • Affects Version/s: 1.15.1
    • Component/s: None
    • None
    • Environment:
      Windows, Linux, MacOSX
    • Iteration Mango Miso
    • None
    • None

      If the Compass user closes the connection window during startup (before the input fields render) using the OS window "X" or red dot, the Compass server process is left running. This prevents subsequent Compass launch attempts due to IPC issues.

      The problem has been reported on all three platforms. On MacOSX, the dialog contains the following text.

      A JavaScript error occurred in the main process

      Uncaught Exception:
       Error: Object has been destroyed
       at ipc.respondTo (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/src/main/window-manager.js:154:20)
       at EventEmitter.ipcMain.on.args (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/hadron-ipc/lib/main.js:43:17)
       at emitOne (events.js:121:20)
       at EventEmitter.emit (events.js:211:7)
       at WebContents.<anonymous> (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/api/web-contents.js:286:13)
       at emitTwo (events.js:126:13)
       at WebContents.emit (events.js:214:7)
      

        1. beta8.png
          beta8.png
          42 kB
        2. image-2018-09-07-18-10-11-245.png
          image-2018-09-07-18-10-11-245.png
          152 kB

            Assignee:
            Lucas Hrabovsky (Inactive)
            Reporter:
            Brian Blevins
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: