()
| 12791 | } |
| 12792 | |
| 12793 | function resetStack() { |
| 12794 | if (nextUnitOfWork !== null) { |
| 12795 | var interruptedWork = nextUnitOfWork['return']; |
| 12796 | while (interruptedWork !== null) { |
| 12797 | unwindInterruptedWork(interruptedWork); |
| 12798 | interruptedWork = interruptedWork['return']; |
| 12799 | } |
| 12800 | } |
| 12801 | |
| 12802 | { |
| 12803 | ReactStrictModeWarnings.discardPendingWarnings(); |
| 12804 | stack.checkThatStackIsEmpty(); |
| 12805 | } |
| 12806 | |
| 12807 | nextRoot = null; |
| 12808 | nextRenderExpirationTime = NoWork; |
| 12809 | nextUnitOfWork = null; |
| 12810 | |
| 12811 | isRootReadyForCommit = false; |
| 12812 | } |
| 12813 | |
| 12814 | function commitAllHostEffects() { |
| 12815 | while (nextEffect !== null) { |
no test coverage detected