packages/ddp-server/livedata_server.js
function () {
    var self = this;

    _.each(self._namedSubs, function (sub, id) {
      sub._deactivate();
    });
    self._namedSubs = {};

    _.each(self._universalSubs, function (sub) {
      sub._deactivate();
    });
    self._universalSubs = [];
  }
function () {
    var self = this;

    _.each(self._namedSubs, function (sub, id) {
      sub._deactivate();
    });
    self._namedSubs = {};

    _.each(self._universalSubs, function (sub) {
      sub._deactivate();
    });
    self._universalSubs = [];
  }
function ( ) { var self = this ; _ . each ( self . _namedSubs , function ( sub , id ) { sub . _deactivate ( ) ; } ) ; self . _namedSubs = { } ; _ . each ( self . _universalSubs , function ( sub ) { sub . _deactivate ( ) ; } ) ; self . _universalSubs = [ ] ; }
tear down all subscriptions. Note that this does NOT send removed or nosub messages, since we assume the client is gone.
tear down all subscriptions . Note that this does NOT send removed or nosub messages since we assume the client is gone .