(finishedWork)
| 25031 | } |
| 25032 | |
| 25033 | function commitPassiveUnmountOnFiber(finishedWork) { |
| 25034 | switch (finishedWork.tag) { |
| 25035 | case FunctionComponent: |
| 25036 | case ForwardRef: |
| 25037 | case SimpleMemoComponent: |
| 25038 | { |
| 25039 | if ( finishedWork.mode & ProfileMode) { |
| 25040 | startPassiveEffectTimer(); |
| 25041 | commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return); |
| 25042 | recordPassiveEffectDuration(finishedWork); |
| 25043 | } else { |
| 25044 | commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return); |
| 25045 | } |
| 25046 | |
| 25047 | break; |
| 25048 | } |
| 25049 | } |
| 25050 | } |
| 25051 | |
| 25052 | function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor) { |
| 25053 | while (nextEffect !== null) { |
no test coverage detected
searching dependent graphs…