()
| 12826 | } |
| 12827 | |
| 12828 | function resetStack() { |
| 12829 | if (nextUnitOfWork !== null) { |
| 12830 | var interruptedWork = nextUnitOfWork['return']; |
| 12831 | while (interruptedWork !== null) { |
| 12832 | unwindInterruptedWork(interruptedWork); |
| 12833 | interruptedWork = interruptedWork['return']; |
| 12834 | } |
| 12835 | } |
| 12836 | |
| 12837 | { |
| 12838 | ReactStrictModeWarnings.discardPendingWarnings(); |
| 12839 | stack.checkThatStackIsEmpty(); |
| 12840 | } |
| 12841 | |
| 12842 | nextRoot = null; |
| 12843 | nextRenderExpirationTime = NoWork; |
| 12844 | nextUnitOfWork = null; |
| 12845 | |
| 12846 | isRootReadyForCommit = false; |
| 12847 | } |
| 12848 | |
| 12849 | function commitAllHostEffects() { |
| 12850 | while (nextEffect !== null) { |
no test coverage detected