()
| 12152 | } |
| 12153 | |
| 12154 | function resetStack() { |
| 12155 | if (nextUnitOfWork !== null) { |
| 12156 | var interruptedWork = nextUnitOfWork['return']; |
| 12157 | while (interruptedWork !== null) { |
| 12158 | unwindInterruptedWork(interruptedWork); |
| 12159 | interruptedWork = interruptedWork['return']; |
| 12160 | } |
| 12161 | } |
| 12162 | |
| 12163 | { |
| 12164 | ReactStrictModeWarnings.discardPendingWarnings(); |
| 12165 | stack.checkThatStackIsEmpty(); |
| 12166 | } |
| 12167 | |
| 12168 | nextRoot = null; |
| 12169 | nextRenderExpirationTime = NoWork; |
| 12170 | nextUnitOfWork = null; |
| 12171 | |
| 12172 | isRootReadyForCommit = false; |
| 12173 | } |
| 12174 | |
| 12175 | function commitAllHostEffects() { |
| 12176 | while (nextEffect !== null) { |
no test coverage detected