Notion Desktop v0.2.4
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):
- 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). ensureViewnow rebuilds a destroyedrec.viewdefensively, soaddChildViewnever receives a destroyed view.
New regression tests for both paths; full suite 257 tests pass.
Download: Notion.Desktop.Setup.0.2.4.exe (NSIS installer, optional install directory).