(fiber)
| 7772 | } |
| 7773 | |
| 7774 | function stopWorkTimer(fiber) { |
| 7775 | if (enableUserTimingAPI) { |
| 7776 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7777 | return; |
| 7778 | } |
| 7779 | // If we pause, its parent is the fiber to unwind from. |
| 7780 | currentFiber = fiber['return']; |
| 7781 | if (!fiber._debugIsCurrentlyTiming) { |
| 7782 | return; |
| 7783 | } |
| 7784 | fiber._debugIsCurrentlyTiming = false; |
| 7785 | endFiberMark(fiber, null, null); |
| 7786 | } |
| 7787 | } |
| 7788 | |
| 7789 | function stopFailedWorkTimer(fiber) { |
| 7790 | if (enableUserTimingAPI) { |
no test coverage detected