()
| 12115 | } |
| 12116 | |
| 12117 | function resetStack() { |
| 12118 | if (nextUnitOfWork !== null) { |
| 12119 | var interruptedWork = nextUnitOfWork['return']; |
| 12120 | while (interruptedWork !== null) { |
| 12121 | unwindInterruptedWork(interruptedWork); |
| 12122 | interruptedWork = interruptedWork['return']; |
| 12123 | } |
| 12124 | } |
| 12125 | |
| 12126 | { |
| 12127 | ReactStrictModeWarnings.discardPendingWarnings(); |
| 12128 | stack.checkThatStackIsEmpty(); |
| 12129 | } |
| 12130 | |
| 12131 | nextRoot = null; |
| 12132 | nextRenderExpirationTime = NoWork; |
| 12133 | nextUnitOfWork = null; |
| 12134 | |
| 12135 | isRootReadyForCommit = false; |
| 12136 | } |
| 12137 | |
| 12138 | function commitAllHostEffects() { |
| 12139 | while (nextEffect !== null) { |
no test coverage detected