#15616·desktop

Split view keeps closed tabs referenced in _tabToSplitNode

Author: VictorGugugCreated Sep 30, 2026Updated Sep 30, 2026
Labelsplatform: windowscomponent: split-view

Preliminary Checks

  • I have read and understood the important section above.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.
  • I have checked that this issue cannot be reproduced on Mozilla Firefox.
  • I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.

What happened?

gZenViewSplitter._tabToSplitNode maps each split tab to its split node. Entries are added when tabs get split but never removed, so every tab that was ever in a split stays referenced after it's closed, for as long as the window is open.

Expected behavior

Closed tabs are released from the map and can be garbage collected.

Actual behavior

The map keeps growing. Splitting two tabs and closing them 5 times leaves all 10 closed tabs in the map.

Steps to reproduce

  1. Open two tabs and split them.
  2. Close both tabs.
  3. Repeat a few times.
  4. In the Browser Console run [...gZenViewSplitter._tabToSplitNode.keys()].filter(t => !t.isConnected).length, it goes up by 2 each time.

Screenshots and videos

No response

Version

1.22.3b

What platform are you seeing the problem on?

Windows - x64

What component is this issue related to?

Split View

Relevant log output if applicable

bash