memory leak on net.registerclass alias

333
1
03-01-2012 12:57 PM
PeteVitt
Occasional Contributor III
Hi
My map is in a module and I have a component in the map that consists of map navigation tools. The problem is that all the classes I import in the component/map navigation tools flag warnings at runtime
component imports:

import com.esri.ags.Graphic;
import com.esri.ags.Map;
import com.esri.ags.SpatialReference;
import com.esri.ags.events.DrawEvent;
etc..

result in the warnings like
warning: The class com.esri.ags.Graphic has been used in a call to net.registerClassAlias() in _ModRound1_FlexInit. This will cause Round1Map:ModRound1 to be leaked. To resolve the leak, define com.esri.ags.Graphic in the top-level application. 

are these warnings serious and how can I get rid of them?

Thanks

Pete
Tags (2)
0 Kudos
1 Reply
MLowry
by
Occasional Contributor II
Anyone know how to fix this?
0 Kudos