Friday, February 22, 2008
AIR Garbage Collection
Friday, February 22, 2008
I was at Keith Peter's blog reading stuff and saw the localConnection thing to force gc in Flash. I then saw something interesting:
In AIR, although not in Flash, you can useThat's extremely useful information. It might be cool to see an actual method in AS3 that can force gc instead of using the localConnection hackSystem.gc()to trigger garbage collection. It should still be called twice in a row, however, if you want everything possible to be collected immediately.
Oliver Goldman | Adobe AIR Engineering
new LocalConnection().connect('foo');Very useful information to have. In AS3 and also AIR-specific cases. Nice work Grant Skinner, Keith Peters, and the AIR team.
new LocalConnection().connect('foo');
Comments:
There are currently 1 Comments: