code: function(){
          var me = this,
              task = me.stateTask;
  
          if (task) {
              task.destroy();
              me.stateTask = null;
          }
  
          me.clearListeners();
      }
docs: Destroys this stateful object.