Jump to content
Search Community

dispose vs. unload - MP3Loader

jhakooz test
Moderator Tag

Recommended Posts

Hi,

I'm using an MP3Loader, and want to keep it around after it loads to control media playback. When the time eventually comes to remove it, what is the best way?

 

1. _mp3Loader.unload() seems to work.

2. _mp3Loader.dispose() seems to work.

 

Will either of these remove event listeners and unload content? Or does it take a combination of both?

I just want to make sure that the MP3Loader will truly be ready for Garbage Collection...

 

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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