System.gc in release build.
Hi at all,
is it possibile use System.gc() into a release build (mobile application).
My usage in ViewNavigatorApplication:
protected function init(event:FlexEvent):void
{
NativeApplication.nativeApplication.addEventListener(Event.ACTIVATE, onActivate, false, 0, true);
NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE, onDeactivate, false, 0, true);
}
protected function onActivate(event:Event):void
{
stage.frameRate = 24;
event.stopPropagation();
}
protected function onDeactivate(event:Event):void
{
event.stopPropagation();
stage.frameRate = 4;
System.gc();
}
Thanks!
F.
