Threaded View
-
14 Oct 2010 12:27 PM #11Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
FWIW, the *leanest* code (does not recreate strings, objects, etc);
Code:var success_handler = function(response, opts){ makeRequest(); }, failure_handler = function(){ makeRequest(); }, ajaxCfg = { url: 'router.php', success: success_handler, failure: failure_handler, params: { foo: 'bar' } }; function makeRequest(){ Ext.Ajax.request(ajaxCfg); } makeRequest();
Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[OPEN-1001] Memory leak on buttons inside a window
By VT-TizianoF in forum Ext 3.x: BugsReplies: 2Last Post: 14 Oct 2010, 11:37 PM -
[OPEN][3.x] Floating Menu memory Leak - Ext.Shadows are never destroyed
By Pyja in forum Ext 3.x: BugsReplies: 14Last Post: 9 Dec 2009, 9:40 AM -
Partial solution to memory leak by ajax
By sean.zhou in forum Community DiscussionReplies: 4Last Post: 18 Nov 2008, 9:35 AM -
[2.2] Ext.QuickTips + ASP.NET AJAX = IE Memory Leak?
By SeiginoRaikou in forum Ext 2.x: BugsReplies: 14Last Post: 23 Sep 2008, 12:40 PM -
Ext.QuickTips + ASP.NET AJAX = IE Memory Leak?
By SeiginoRaikou in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 15 Sep 2008, 9:19 PM


Reply With Quote