REQUIRED INFORMATION


Ext version tested:
  • Ext 4.1 Beta3


Browser versions tested against:
  • FF3 (firebug 1.3.0.10 installed)


DOCTYPE tested against:
  • ____


Description:
  • If I run a js function that produces a runtime error with the taskmanager, the interval is ignored and an infinite loop is the result. This is very annoying while debugging, especialy if the runtime error is caused by an Ajax request


Steps to reproduce the problem:
  • Run the sample and see the log in firebug


The result that was expected:
  • The application or TaskManager should break


The result that occurs instead:
  • It loops


Test Case:

Code:
    
function withError() {
    
    console.log('function with error');
    var error = undefinedVar;
}


Ext.TaskManager.start({
    scope: this,
    run: withError,
    interval: 4000
});