()
| 12664 | } |
| 12665 | |
| 12666 | function resetStack() { |
| 12667 | if (nextUnitOfWork !== null) { |
| 12668 | var interruptedWork = nextUnitOfWork['return']; |
| 12669 | while (interruptedWork !== null) { |
| 12670 | unwindInterruptedWork(interruptedWork); |
| 12671 | interruptedWork = interruptedWork['return']; |
| 12672 | } |
| 12673 | } |
| 12674 | |
| 12675 | { |
| 12676 | ReactStrictModeWarnings.discardPendingWarnings(); |
| 12677 | stack.checkThatStackIsEmpty(); |
| 12678 | } |
| 12679 | |
| 12680 | nextRoot = null; |
| 12681 | nextRenderExpirationTime = NoWork; |
| 12682 | nextUnitOfWork = null; |
| 12683 | |
| 12684 | isRootReadyForCommit = false; |
| 12685 | } |
| 12686 | |
| 12687 | function commitAllHostEffects() { |
| 12688 | while (nextEffect !== null) { |
no test coverage detected