dist/monitor-all.js
function(probeId, callback) {
      var t = this, probeImpl = t.runningProbesById[probeId];
      if (!probeImpl) {return callback('Probe not running');}
      if (--probeImpl.refCount === 0) {

        // Release probe resources & internal references if still no references after a while
        setTimeout(function() {
          if (probeImpl.refCount === 0) {
            try {
              probeImpl.release();
            } catch (e){}
            delete t.runningProbesByKey[probeImpl.probeKey];
            delete t.runningProbesById[probeId];
          }
        }, PROBE_TIMEOUT_MS);
      }
      callback(null, probeImpl);
    }
function(probeId, callback) {
      var t = this, probeImpl = t.runningProbesById[probeId];
      if (!probeImpl) {return callback('Probe not running');}
      if (--probeImpl.refCount === 0) {

        // Release probe resources & internal references if still no references after a while
        setTimeout(function() {
          if (probeImpl.refCount === 0) {
            try {
              probeImpl.release();
            } catch (e){}
            delete t.runningProbesByKey[probeImpl.probeKey];
            delete t.runningProbesById[probeId];
          }
        }, PROBE_TIMEOUT_MS);
      }
      callback(null, probeImpl);
    }
function ( probeId , callback ) { var t = this , probeImpl = t . runningProbesById [ probeId ] ; if ( ! probeImpl ) { return callback ( 'Probe not running' ) ; } if ( -- probeImpl . refCount === 0 ) { // Release probe resources & internal references if still no references after a while setTimeout ( function ( ) { if ( probeImpl . refCount === 0 ) { try { probeImpl . release ( ) ; } catch ( e ) { } delete t . runningProbesByKey [ probeImpl . probeKey ] ; delete t . runningProbesById [ probeId ] ; } } , PROBE_TIMEOUT_MS ) ; } callback ( null , probeImpl ) ; }
Disconnect with an internal probe implementation.

@method disconnectInternal
@protected
@param probeId {String} - The probe implementation ID to disconnect
@param callback {Function(error, probeImpl)} - Called when disconnected
Disconnect with an internal probe implementation .