(current, instance)
| 22892 | } |
| 22893 | |
| 22894 | var callComponentWillUnmountWithTimer = function (current, instance) { |
| 22895 | instance.props = current.memoizedProps; |
| 22896 | instance.state = current.memoizedState; |
| 22897 | |
| 22898 | if ( current.mode & ProfileMode) { |
| 22899 | try { |
| 22900 | startLayoutEffectTimer(); |
| 22901 | instance.componentWillUnmount(); |
| 22902 | } finally { |
| 22903 | recordLayoutEffectDuration(current); |
| 22904 | } |
| 22905 | } else { |
| 22906 | instance.componentWillUnmount(); |
| 22907 | } |
| 22908 | }; // Capture errors so they don't interrupt mounting. |
| 22909 | |
| 22910 | |
| 22911 | function safelyCallCommitHookLayoutEffectListMount(current, nearestMountedAncestor) { |
no test coverage detected
searching dependent graphs…