()
| 12929 | } |
| 12930 | |
| 12931 | function resetStack() { |
| 12932 | if (nextUnitOfWork !== null) { |
| 12933 | var interruptedWork = nextUnitOfWork['return']; |
| 12934 | while (interruptedWork !== null) { |
| 12935 | unwindInterruptedWork(interruptedWork); |
| 12936 | interruptedWork = interruptedWork['return']; |
| 12937 | } |
| 12938 | } |
| 12939 | |
| 12940 | { |
| 12941 | ReactStrictModeWarnings.discardPendingWarnings(); |
| 12942 | stack.checkThatStackIsEmpty(); |
| 12943 | } |
| 12944 | |
| 12945 | nextRoot = null; |
| 12946 | nextRenderExpirationTime = NoWork; |
| 12947 | nextUnitOfWork = null; |
| 12948 | |
| 12949 | isRootReadyForCommit = false; |
| 12950 | } |
| 12951 | |
| 12952 | function commitAllHostEffects() { |
| 12953 | while (nextEffect !== null) { |
no test coverage detected