Skip to content

fix(scroll): memory leak in window state map#2884

Open
mbfoss wants to merge 1 commit into
folke:mainfrom
mbfoss:bugfix/scroll_memleak
Open

fix(scroll): memory leak in window state map#2884
mbfoss wants to merge 1 commit into
folke:mainfrom
mbfoss:bugfix/scroll_memleak

Conversation

@mbfoss

@mbfoss mbfoss commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

The State map is never cleared when a Window is closed, so it's size increases continuously.

Description

This fixes a memory leak in the scroll.lua module

The State map is never cleared when a Window is closed, so it's size increases continuously.
@github-actions github-actions Bot added scroll size/m Medium PR (<50 lines changed) labels Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scroll size/m Medium PR (<50 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant