synchronized void removeTracer(Tracer tracer){
  if (curTracers.remove(tracer)) {
    LOG.trace(toString() + ": removing tracer " + tracer.toString());
    if (curTracers.size() == 0) {
      removeAndCloseAllSpanReceivers();
    }
  }
}

synchronized void removeTracer ( Tracer tracer ) { if ( curTracers . remove ( tracer ) ) { LOG . trace ( toString ( ) + ": removing tracer " + tracer . toString ( ) ) ; if ( curTracers . size ( ) == 0 ) { removeAndCloseAllSpanReceivers ( ) ; } } }
remove a tracer . if the tracer removed was the last one , we will close all the spanreceiver objects that we ' re managing .
