(fiber)
| 7673 | } |
| 7674 | |
| 7675 | function stopWorkTimer(fiber) { |
| 7676 | if (enableUserTimingAPI) { |
| 7677 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7678 | return; |
| 7679 | } |
| 7680 | // If we pause, its parent is the fiber to unwind from. |
| 7681 | currentFiber = fiber['return']; |
| 7682 | if (!fiber._debugIsCurrentlyTiming) { |
| 7683 | return; |
| 7684 | } |
| 7685 | fiber._debugIsCurrentlyTiming = false; |
| 7686 | endFiberMark(fiber, null, null); |
| 7687 | } |
| 7688 | } |
| 7689 | |
| 7690 | function stopFailedWorkTimer(fiber) { |
| 7691 | if (enableUserTimingAPI) { |
no test coverage detected