Skip to content

Fix leaking shapes#999

Merged
hyanwong merged 1 commit intoOneZoom:mainfrom
jaredkhan:fix-shape-memory-leak
Mar 12, 2026
Merged

Fix leaking shapes#999
hyanwong merged 1 commit intoOneZoom:mainfrom
jaredkhan:fix-shape-memory-leak

Conversation

@jaredkhan
Copy link
Collaborator

@jaredkhan jaredkhan commented Mar 11, 2026

Oops!

Yonks ago I made this change to get the shapes early so that we'd update the hover state quickly.
Aaaand in the process I leaked all the shapes every time the cursor moves.

This fixes that.

I verified I could reproduce the leak in dev by moving the cursor around whilst looking at the all life node using the chrome profiler and verified that I could no longer reproduce it after this change.

@hyanwong
Copy link
Member

Fantastic. Thanks @jaredkhan

@hyanwong hyanwong merged commit f7ba137 into OneZoom:main Mar 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants