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

destroy method #7

Open
GoogleCodeExporter opened this issue Apr 21, 2015 · 1 comment
Open

destroy method #7

GoogleCodeExporter opened this issue Apr 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I implemented the surf engine in flash/AS3 :

public var surf:ASSURF;
public var surfOptions:SURFOptions;

surfOptions = new SURFOptions(capture_sp.width, capture_sp, 200, 0.003, true, 
4, 4, 2);
surf = new ASSURF(surfOptions); 

and then destroy it on button click :
surf.destroy();

but memory is never released....

Is there a trick to completely freeing memory ?

thanks.

Original issue reported on code.google.com by [email protected] on 16 Jun 2010 at 1:20

@GoogleCodeExporter
Copy link
Author

Unfortunately you cant release all the allocated memory.
by calling destroy - you clear all the memory allocated inside ASSURF (all 
inner buffers) but you can;t clear Alchemy static memory.

Original comment by [email protected] on 19 Jul 2010 at 2:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant