Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Apache Flex 4.14.0
-
None
-
None
-
windows 7
Description
flatspark textinput prevents it from being collected by gc
play:
- Add textinput with skin flatspark
- Remove
- You can see in the profiler that has not been removed
solution :
remove
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace fb "http://ns.adobe.com/flashbuilder/2009";
@namespace spark "spark.skins.spark.*";
*
{ /*focusColor: #FFFFFF; focusThickness: 1px; focusAlpha: 1;*/ /*focusAlpha: 0;*/ errorColor: #E74C3C; }</fx:Style>
remove bind hostcomponent
example : getFontSize(hostComponent.height)