forceCloseById (windowId) {
    const browserWindow = this.getBrowserWindow(windowId)
    if (browserWindow) {
      return this.forceClose(browserWindow)
    }
    return false
  }
Closes the application window and associated browser window without asking to save documents.

@param {number} windowId The application window or browser window id.