You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getOwnerBrowserWindow and isDestroyed are 2 synchronous calls that happen on layout that can be expensive (seems around 0.5-8ms on my Windows box). I think we can cache the owner browser window object and listen to on('destroyed') instead.
These checks were added to fix some crashes we were hitting so we need to be careful here. If you call certain webview methods without knowing if the webview was destroyed (which we used not to be able to determine reliably) things can go very wrong
#81698
Related: #81780
getOwnerBrowserWindow
andisDestroyed
are 2 synchronous calls that happen on layout that can be expensive (seems around 0.5-8ms on my Windows box). I think we can cache the owner browser window object and listen toon('destroyed')
instead.vscode/src/vs/workbench/contrib/webview/electron-browser/webviewElement.ts
Lines 578 to 581 in 9c1fa6f
The text was updated successfully, but these errors were encountered: