(current)
| 11499 | } |
| 11500 | |
| 11501 | function detachFiber(current) { |
| 11502 | // Cut off the return pointers to disconnect it from the tree. Ideally, we |
| 11503 | // should clear the child pointer of the parent alternate to let this |
| 11504 | // get GC:ed but we don't know which for sure which parent is the current |
| 11505 | // one so we'll settle for GC:ing the subtree of this child. This child |
| 11506 | // itself will be GC:ed when the parent updates the next time. |
| 11507 | current['return'] = null; |
| 11508 | current.child = null; |
| 11509 | if (current.alternate) { |
| 11510 | current.alternate.child = null; |
| 11511 | current.alternate['return'] = null; |
| 11512 | } |
| 11513 | } |
| 11514 | |
| 11515 | var emptyPortalContainer = void 0; |
| 11516 |
no outgoing calls
no test coverage detected