processing / p5.js

p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
http://p5js.org/
GNU Lesser General Public License v2.1
21.08k stars 3.22k forks source link

Fix #7049: P5.Graphics.remove() doesn't release all related resources #7060

Closed iambiancafonseca closed 1 month ago

iambiancafonseca commented 1 month ago

Resolves #7049

Changes:

Now when we call remove() all associated resources should be released.

Screenshots of the change: (no screenshots)

PR Checklist

welcome[bot] commented 1 month ago

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

davepagurek commented 1 month ago

Thanks for making this change and adding tests! Just one minor note about the example.

davepagurek commented 1 month ago

@all-contributors please add @iambiancafonseca for docs

allcontributors[bot] commented 1 month ago

@davepagurek

I've put up a pull request to add @iambiancafonseca! :tada: