PDA

View Full Version : what is effect of this code line ?



santoshsatav
24 Oct 2010, 9:05 PM
in some of my page i used 'managediframe' component its giving me Ec[..] null error as per forum discussion solution i found is line below ,

Ext.enableGarbageCollector = false;included in given page error gone , but i dont under stand side effect of this code line , can any body guide me what are going to be side effects ?

gabrielstuff
25 Oct 2010, 2:55 AM
enabkeGarbageCollector = true allows you to do not care about freeing memory from your card.
It is written in the doc :
http://dev.sencha.com/deploy/touch/docs/source/Ext.html#prop-Ext-enableGarbageCollectorI

I guess, that if you set it off, you'll have to handle the realease of the none used elements.


True to automatically uncache orphaned Ext.Elements periodically (defaults to true)