soumavachakraborty / gaforflash

Automatically exported from code.google.com/p/gaforflash
Apache License 2.0
0 stars 0 forks source link

Should use GCSafeLoader instead of Loader references #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Apply trackEvent to something like a button.
2. Click the button multiple times really quickly
3. The debug GIFrequests does not have the same count as number of times I
clicked the button.

What is the expected output? What do you see instead?
If I have a button calling trackEvent and I click, say, 20 times.  The
debug will not always show 20 lines.

What version of the product are you using? On what operating system?
Flex Builder 3.0.2, publishing for 9.0.124.  I'm on Mac OS X 10.5.5

Please provide any additional information below.
Any references to the loader class should be replaced with GCSafeLoader
found at http://exanimo.com/actionscript/never-use-tween-or-urlloader/  The
reason is because things like tweens, URLLoader, and Loader objects will
sometimes get garbage collected before they execute completely.

Original issue reported on code.google.com by holapenguin@gmail.com on 24 Nov 2008 at 6:50

GoogleCodeExporter commented 8 years ago
If GCSafeLoader doesn't get used, then at least handle the loader object from 
being
garbage collected

Original comment by holapenguin@gmail.com on 24 Nov 2008 at 7:43

GoogleCodeExporter commented 8 years ago
> If I have a button calling trackEvent and I click, say, 20 times.
> The debug will not always show 20 lines.

could you provide an example that demonstrate that ?

we especially tested the gif requests for this case and for memory leaks

Original comment by zwetan on 25 Nov 2008 at 5:36

GoogleCodeExporter commented 8 years ago

Original comment by zwetan on 16 Apr 2010 at 3:21