You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I properly dispose the resources after the encoder is no longer required?
This is what i've tried:
I've tried setting the byte arrays and the ShineMP3Encoder object to null but that didn't do it.
Then I copied the ShineMP3Encoder class code into my project and exposed the cshine and cmodule.shine.CLibInit objects and set those to null with no results.
I've looked into the shine library a little, and in main.c and there is a closeByteArray function that is is passed to config.wave.file and config.wave.output when they are initialized but I am not sure if it gets called.
It seems like no matter what i tried the memory usage in the profiler kept growing. I am not a flex developer and have not used Alchemy before, so I would appreciate a little help on this :) Thanks!
The text was updated successfully, but these errors were encountered:
How can I properly dispose the resources after the encoder is no longer required?
This is what i've tried:
It seems like no matter what i tried the memory usage in the profiler kept growing. I am not a flex developer and have not used Alchemy before, so I would appreciate a little help on this :) Thanks!
The text was updated successfully, but these errors were encountered: