```js
(function() {
  var i, indexes, sink, _i, _j, _len, _len1;
  if (indexes = []) {
    for (i = _i = 0, _len = sinks.length; _i < _len; i = ++_i) {
      sink = sinks[i];
      if (sink(event) === Reply.stop) {
        indexes.unshift(i);
      }
    }
  }
  for (_j = 0, _len1 = indexes.length; _j < _len1; _j++) {
    i = indexes[_j];
    sinks.splice(i, 1);
  }
});
```