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
This only happens when the link is on a different line to the cursor. This clear call doesn't end up clearing the old link otherwise, which is where the leak happens:
Changing this to this._handleHover(position) fixes the problem for example because it ends up calling this._clearCurrentLink(undefined, undefined) which clears all links:
The bug here is that _clearCurrentLink was being called only on the
line(s) that changed, but _askForLink was then being triggered
regardless. This caused more onRenderedViewportChange listeners to be
registered and for the thread blocking to get exponentially worse.
Fixesxtermjs#4341
VS Code issue: microsoft/vscode#169614
Repros in xterm.js:
The text was updated successfully, but these errors were encountered: