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 scratch buffer (iOS memory leak fix) not working since 982c0aa #834

Merged
merged 3 commits into from
Nov 16, 2017

Conversation

felthy
Copy link

@felthy felthy commented Oct 20, 2017

The _scratchBuffer property was moved to the HowlerGlobal instance (Howler) but the Howl instances still looked for self._scratchBuffer when cleaning up. I just changed that cleanup method to refer to Howler._scratchBuffer instead.

@goldfire
Copy link
Owner

Thanks for catching that! However, can you just make the change to src/howler.core.js and not include the lock file?

@felthy
Copy link
Author

felthy commented Nov 15, 2017

Hi again, sorry this slipped my mind for a bit! I've reverted the non-src changes.

@goldfire goldfire merged commit 075189c into goldfire:master Nov 16, 2017
@@ -1910,10 +1910,10 @@
_cleanBuffer: function(node) {
var self = this;

Choose a reason for hiding this comment

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

you could have just changed var self = Howler instead of self in two other spots

ringcrl pushed a commit to ringcrl/howler.js that referenced this pull request Apr 21, 2019
Fix scratch buffer (iOS memory leak fix) not working since 982c0aa
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.

3 participants