(fiber)
| 7714 | } |
| 7715 | |
| 7716 | function stopWorkTimer(fiber) { |
| 7717 | if (enableUserTimingAPI) { |
| 7718 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7719 | return; |
| 7720 | } |
| 7721 | // If we pause, its parent is the fiber to unwind from. |
| 7722 | currentFiber = fiber['return']; |
| 7723 | if (!fiber._debugIsCurrentlyTiming) { |
| 7724 | return; |
| 7725 | } |
| 7726 | fiber._debugIsCurrentlyTiming = false; |
| 7727 | endFiberMark(fiber, null, null); |
| 7728 | } |
| 7729 | } |
| 7730 | |
| 7731 | function stopFailedWorkTimer(fiber) { |
| 7732 | if (enableUserTimingAPI) { |
no test coverage detected