(fiber)
| 7817 | } |
| 7818 | |
| 7819 | function stopWorkTimer(fiber) { |
| 7820 | if (enableUserTimingAPI) { |
| 7821 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7822 | return; |
| 7823 | } |
| 7824 | // If we pause, its parent is the fiber to unwind from. |
| 7825 | currentFiber = fiber['return']; |
| 7826 | if (!fiber._debugIsCurrentlyTiming) { |
| 7827 | return; |
| 7828 | } |
| 7829 | fiber._debugIsCurrentlyTiming = false; |
| 7830 | endFiberMark(fiber, null, null); |
| 7831 | } |
| 7832 | } |
| 7833 | |
| 7834 | function stopFailedWorkTimer(fiber) { |
| 7835 | if (enableUserTimingAPI) { |
no test coverage detected