lib/util.js
function(func, context, args, callback) {
  try {
    func.apply(context, args);
  }
  catch (err) {}

  if (callback) {
    callback();
  }
}
function(func, context, args, callback) {
  try {
    func.apply(context, args);
  }
  catch (err) {}

  if (callback) {
    callback();
  }
}
function ( func , context , args , callback ) { try { func . apply ( context , args ) ; } catch ( err ) { } if ( callback ) { callback ( ) ; } }
Call a function and ignore any error thrown.

@param {Function} func Function to call.
@param {Object} context Context in which the function is called.
@param {Array} Function argument
@param {Function} callback Optional callback which is called at the end.
Call a function and ignore any error thrown .