Clear delegates before removing from instances dict in windowWillClose_ (#1802)
Move webview delegate clearing (setNavigationDelegate_, setUIDelegate_) before del BrowserView.instances[i.uid] so no callbacks can arrive after get_instance would return None for the closing window. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
S
Steven Parkes committed
2cdff2c49870dbf069e1e7e14705a18af0f4fd7e
Parent: 87a6840
Committed by GitHub <noreply@github.com>
on 4/5/2026, 8:15:42 PM