Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

Issues with Air 20 Testing, Child SWF's root Sprite can't be unloaded.

$
0
0

Hi all,

I got a problem.

when I set applicationDomain = ApplicationDomain.currentDomain to loader.

And The child SWF's root Sprite had a Class,but parent SWF without this Class.

Do Repeat reloading and watching profiler.

Profiler indicates the number of SWF's root Sprite which is Continuously rising.

This represents a memory leak.

 

81 times to reload & this profile is shown below.

All other memory can be controlled well, except for SWF's root Sprite & related objects.

123.jpg

 

 

this behavior is normal?

Or Is there any way to solve?

(This testing is on desktop platform with Air 20  & releas mode.)

 

The same test is good working for setting applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain).


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>