message: Fix window will navigate issue on main webContents
diff: @@ -158,7 +158,14 @@ export const preventWindowNavigation = (
  }
  };
  + if (isPopOutWindow) {
  browserWindow.webContents.on('will-navigate', listener);
  + } else {
  + const mainWebContents = windowHandler.getMainWebContents();
  + if (mainWebContents && !mainWebContents.isDestroyed()) {
  + mainWebContents.on('will-navigate', listener);
  + }
  + }
  browserWindow.once('close', () => {
  browserWindow.webContents.removeListener('will-navigate', listener);
  