Jump to content

Properly remove music cache


Recommended Posts

I noticed that there is a post which resembled the problem that I am currently going through regarding music cache = http://www.html5gamedevs.com/topic/19075-how-do-i-actually-remove-an-audio-file-from-memory/
I was wondering if anybody knew of a way to fully remove the cache of a music file as the memory just seems to go up and up on my game. I currently use all of these below lines but none of them seem to fully remove the cache:
backgroundMusic = null;

I currently use v2.4.3.
Any help you can provide would be fantastic :)
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...