()
| 12884 | } |
| 12885 | |
| 12886 | function resetStack() { |
| 12887 | if (nextUnitOfWork !== null) { |
| 12888 | var interruptedWork = nextUnitOfWork['return']; |
| 12889 | while (interruptedWork !== null) { |
| 12890 | unwindInterruptedWork(interruptedWork); |
| 12891 | interruptedWork = interruptedWork['return']; |
| 12892 | } |
| 12893 | } |
| 12894 | |
| 12895 | { |
| 12896 | ReactStrictModeWarnings.discardPendingWarnings(); |
| 12897 | stack.checkThatStackIsEmpty(); |
| 12898 | } |
| 12899 | |
| 12900 | nextRoot = null; |
| 12901 | nextRenderExpirationTime = NoWork; |
| 12902 | nextUnitOfWork = null; |
| 12903 | |
| 12904 | isRootReadyForCommit = false; |
| 12905 | } |
| 12906 | |
| 12907 | function commitAllHostEffects() { |
| 12908 | while (nextEffect !== null) { |
no test coverage detected