(finishedWork)
| 25070 | } |
| 25071 | |
| 25072 | function commitPassiveUnmountOnFiber(finishedWork) { |
| 25073 | switch (finishedWork.tag) { |
| 25074 | case FunctionComponent: |
| 25075 | case ForwardRef: |
| 25076 | case SimpleMemoComponent: |
| 25077 | { |
| 25078 | if ( finishedWork.mode & ProfileMode) { |
| 25079 | startPassiveEffectTimer(); |
| 25080 | commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return); |
| 25081 | recordPassiveEffectDuration(finishedWork); |
| 25082 | } else { |
| 25083 | commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return); |
| 25084 | } |
| 25085 | |
| 25086 | break; |
| 25087 | } |
| 25088 | } |
| 25089 | } |
| 25090 | |
| 25091 | function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor) { |
| 25092 | while (nextEffect !== null) { |
no test coverage detected
searching dependent graphs…