Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dispose line geom cache when points updating #415

Merged
merged 1 commit into from
May 28, 2021

Conversation

slahser1992
Copy link
Contributor

@slahser1992 slahser1992 commented May 27, 2021

Why

memory leak were caused by updating line points

What

clean up the last frame geometry before drawing new line mesh.

Checklist

  • Documentation updated
  • Storybook entry added
  • Ready to be merged

@vercel
Copy link

vercel bot commented May 27, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pmndrs/drei/B174ThDudkKUoN9arLk3L6dPiHvE
✅ Preview: https://drei-git-fork-slahser1992-master-pmndrs.vercel.app

Copy link
Member

@joshuaellis joshuaellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@joshuaellis joshuaellis merged commit 46b56bd into pmndrs:master May 28, 2021
@joshuaellis joshuaellis linked an issue May 28, 2021 that may be closed by this pull request
@github-actions
Copy link

🎉 This PR is included in version 5.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

memory leak when updating a <Line/>
2 participants