node_modules/racer/lib/Backend.js
// Close the model when this request ends
Close the model when this request ends
Close the model when this request ends
function closeModel() {
      res.removeListener('finish', closeModel);
      res.removeListener('close', closeModel);
      if (req.model) req.model.close();
      req.getModel = getModelUndefined;
    }
function closeModel ( ) { res . removeListener ( 'finish' , closeModel ) ; res . removeListener ( 'close' , closeModel ) ; if ( req . model ) req . model . close ( ) ; req . getModel = getModelUndefined ; }
Close the model when this request ends
Close the model when this request ends
// DEPRECATED: