(fiber)
| 7930 | } |
| 7931 | |
| 7932 | function stopWorkTimer(fiber) { |
| 7933 | if (enableUserTimingAPI) { |
| 7934 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7935 | return; |
| 7936 | } |
| 7937 | // If we pause, its parent is the fiber to unwind from. |
| 7938 | currentFiber = fiber['return']; |
| 7939 | if (!fiber._debugIsCurrentlyTiming) { |
| 7940 | return; |
| 7941 | } |
| 7942 | fiber._debugIsCurrentlyTiming = false; |
| 7943 | endFiberMark(fiber, null, null); |
| 7944 | } |
| 7945 | } |
| 7946 | |
| 7947 | function stopFailedWorkTimer(fiber) { |
| 7948 | if (enableUserTimingAPI) { |
no test coverage detected