(current)
| 10732 | } |
| 10733 | |
| 10734 | function detachFiber(current) { |
| 10735 | // Cut off the return pointers to disconnect it from the tree. Ideally, we |
| 10736 | // should clear the child pointer of the parent alternate to let this |
| 10737 | // get GC:ed but we don't know which for sure which parent is the current |
| 10738 | // one so we'll settle for GC:ing the subtree of this child. This child |
| 10739 | // itself will be GC:ed when the parent updates the next time. |
| 10740 | current['return'] = null; |
| 10741 | current.child = null; |
| 10742 | if (current.alternate) { |
| 10743 | current.alternate.child = null; |
| 10744 | current.alternate['return'] = null; |
| 10745 | } |
| 10746 | } |
| 10747 | |
| 10748 | var emptyPortalContainer = void 0; |
| 10749 |
no outgoing calls
no test coverage detected