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

Function clearPendingPhaseMeasurement

code/styling/public/app.js:7582–7589  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7580};
7581
7582var clearPendingPhaseMeasurement = function () {
7583 if (currentPhase !== null && currentPhaseFiber !== null) {
7584 clearFiberMark(currentPhaseFiber, currentPhase);
7585 }
7586 currentPhaseFiber = null;
7587 currentPhase = null;
7588 hasScheduledUpdateInCurrentPhase = false;
7589};
7590
7591var pauseTimers = function () {
7592 // 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