(fiber)
| 7552 | } |
| 7553 | |
| 7554 | function stopWorkTimer(fiber) { |
| 7555 | if (enableUserTimingAPI) { |
| 7556 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7557 | return; |
| 7558 | } |
| 7559 | // If we pause, its parent is the fiber to unwind from. |
| 7560 | currentFiber = fiber['return']; |
| 7561 | if (!fiber._debugIsCurrentlyTiming) { |
| 7562 | return; |
| 7563 | } |
| 7564 | fiber._debugIsCurrentlyTiming = false; |
| 7565 | endFiberMark(fiber, null, null); |
| 7566 | } |
| 7567 | } |
| 7568 | |
| 7569 | function stopFailedWorkTimer(fiber) { |
| 7570 | if (enableUserTimingAPI) { |
no test coverage detected