dist/monitor-all.js
function(connection, probeId, callback) {
      var t = this, proxy = connection.remoteProbesById[probeId];
      if (!proxy) {return callback('Probe not running');}
      if (--proxy.refCount === 0) {
        // Release probe resources
        proxy.release();
        proxy.connection = null;
        delete connection.remoteProbesById[probeId];
        delete connection.remoteProbeIdsByKey[proxy.probeKey];
        connection.removeEvent('probe:change:' + probeId);
        return connection.emit('probe:disconnect', {probeId:probeId}, function(error){
          return callback(error);
        });
      }
      callback(null);
    }
function(connection, probeId, callback) {
      var t = this, proxy = connection.remoteProbesById[probeId];
      if (!proxy) {return callback('Probe not running');}
      if (--proxy.refCount === 0) {
        // Release probe resources
        proxy.release();
        proxy.connection = null;
        delete connection.remoteProbesById[probeId];
        delete connection.remoteProbeIdsByKey[proxy.probeKey];
        connection.removeEvent('probe:change:' + probeId);
        return connection.emit('probe:disconnect', {probeId:probeId}, function(error){
          return callback(error);
        });
      }
      callback(null);
    }
function ( connection , probeId , callback ) { var t = this , proxy = connection . remoteProbesById [ probeId ] ; if ( ! proxy ) { return callback ( 'Probe not running' ) ; } if ( -- proxy . refCount === 0 ) { // Release probe resources proxy . release ( ) ; proxy . connection = null ; delete connection . remoteProbesById [ probeId ] ; delete connection . remoteProbeIdsByKey [ proxy . probeKey ] ; connection . removeEvent ( 'probe:change:' + probeId ) ; return connection . emit ( 'probe:disconnect' , { probeId : probeId } , function ( error ) { return callback ( error ) ; } ) ; } callback ( null ) ; }
Disconnect with an external probe implementation.

@method disconnectExternal
@protected
@param connection {Connection} - The connection to use
@param probeId {String} - Probe ID
@param callback {Function(error)} - Called when disconnected
Disconnect with an external probe implementation .