(current)
| 11592 | } |
| 11593 | |
| 11594 | function detachFiber(current) { |
| 11595 | // Cut off the return pointers to disconnect it from the tree. Ideally, we |
| 11596 | // should clear the child pointer of the parent alternate to let this |
| 11597 | // get GC:ed but we don't know which for sure which parent is the current |
| 11598 | // one so we'll settle for GC:ing the subtree of this child. This child |
| 11599 | // itself will be GC:ed when the parent updates the next time. |
| 11600 | current['return'] = null; |
| 11601 | current.child = null; |
| 11602 | if (current.alternate) { |
| 11603 | current.alternate.child = null; |
| 11604 | current.alternate['return'] = null; |
| 11605 | } |
| 11606 | } |
| 11607 | |
| 11608 | var emptyPortalContainer = void 0; |
| 11609 |
no outgoing calls
no test coverage detected