MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / clearPendingPhaseMeasurement

Function clearPendingPhaseMeasurement

code/third-party/public/app.js:6815–6822  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6813};
6814
6815var clearPendingPhaseMeasurement = function () {
6816 if (currentPhase !== null && currentPhaseFiber !== null) {
6817 clearFiberMark(currentPhaseFiber, currentPhase);
6818 }
6819 currentPhaseFiber = null;
6820 currentPhase = null;
6821 hasScheduledUpdateInCurrentPhase = false;
6822};
6823
6824var pauseTimers = function () {
6825 // Stops all currently active measurements so that they can be resumed

Callers 1

startPhaseTimerFunction · 0.70

Calls 1

clearFiberMarkFunction · 0.70

Tested by

no test coverage detected