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