(fiber)
| 6912 | } |
| 6913 | |
| 6914 | function stopWorkTimer(fiber) { |
| 6915 | if (enableUserTimingAPI) { |
| 6916 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 6917 | return; |
| 6918 | } |
| 6919 | // If we pause, its parent is the fiber to unwind from. |
| 6920 | currentFiber = fiber['return']; |
| 6921 | if (!fiber._debugIsCurrentlyTiming) { |
| 6922 | return; |
| 6923 | } |
| 6924 | fiber._debugIsCurrentlyTiming = false; |
| 6925 | endFiberMark(fiber, null, null); |
| 6926 | } |
| 6927 | } |
| 6928 | |
| 6929 | function stopFailedWorkTimer(fiber) { |
| 6930 | if (enableUserTimingAPI) { |
no test coverage detected