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