We purge it [here](https://github.com/facebook/react/blob/b11540ccb2321aeb7259fcf0b3a38aeeea35231d/src/isomorphic/ReactDebugTool.js#L88-L89) but this code doesn’t run because of the [early exit](https://github.com/facebook/react/blob/b11540ccb2321aeb7259fcf0b3a38aeeea35231d/src/isomorphic/ReactDebugTool.js#L53-L57).

Need to fix this and add a test case to make sure we don’t regress on it.

checkDebugID(debugID);
    if (__DEV__) {
      if (isProfiling && currentFlushNesting > 0) {
        warning(
          currentTimerType === timerType,
          'There is an internal error in the React performance measurement code. ' +
          'We did not expect %s timer to stop while %s timer is still in ' +
          'progress for %s instance. Please report this as a bug in React.',
          timerType,
          currentTimerType || 'no',
          (debugID === currentTimerDebugID) ? 'the same' : 'another'
        );
        currentFlushMeasurements.push({
          timerType,
          instanceID: debugID,
          duration: performanceNow() - currentTimerStartTime,
        });
        currentTimerStartTime = null;
        currentTimerDebugID = null;
        currentTimerType = null;
      }
    }
    emitEvent('onEndLifeCycleTimer', debugID, timerType);
  },
  onBeginReconcilerTimer(debugID, timerType) {