Skip to content

Notion Desktop v0.2.4

Choose a tag to compare

@LBurny LBurny released this 26 Aug 06:57
· 13 commits to main since this release

English | 中文说明

Fixes a crash when switching tabs ("Can't add a destroyed child view")

The standby view's dom-ready/did-finish-load/did-fail-load handlers stayed attached to the webContents after it was claimed and became a tab. When that tab later had a main-frame load failure (e.g. a watchdog fallback reload failed), the leftover did-fail-load called wc.close() and destroyed the tab's view; switching back to it then crashed addChildView.

Fixes (two layers):

  1. The standby handlers are now gated on v !== view — once the view is claimed it's no longer the current standby, so the leftover handlers become no-ops (no more stray CSS injection / state corruption / view destruction).
  2. ensureView now rebuilds a destroyed rec.view defensively, so addChildView never receives a destroyed view.

New regression tests for both paths; full suite 257 tests pass.

⚠️ v0.2.3 can crash when switching tabs — please upgrade to v0.2.4.

Download: Notion.Desktop.Setup.0.2.4.exe (NSIS installer, optional install directory).