benchmarks/scenarios/ember.js
function unsubscribe(subscriber) {
    var index;

    for (var i = 0, l = subscribers.length; i < l; i++) {
      if (subscribers[i] === subscriber) {
        index = i;
      }
    }

    subscribers.splice(index, 1);
    cache = {};
  }
function unsubscribe(subscriber) {
    var index;

    for (var i = 0, l = subscribers.length; i < l; i++) {
      if (subscribers[i] === subscriber) {
        index = i;
      }
    }

    subscribers.splice(index, 1);
    cache = {};
  }
function unsubscribe ( subscriber ) { var index ; for ( var i = 0 , l = subscribers . length ; i < l ; i ++ ) { if ( subscribers [ i ] === subscriber ) { index = i ; } } subscribers . splice ( index , 1 ) ; cache = { } ; }
Unsubscribes from a particular event or instrumented block of code.

@method unsubscribe
@namespace Ember.Instrumentation

@param {Object} [subscriber]
@private
Unsubscribes from a particular event or instrumented block of code .