(current, destroy)
| 19748 | } |
| 19749 | |
| 19750 | function safelyCallDestroy(current, destroy) { |
| 19751 | { |
| 19752 | invokeGuardedCallback(null, destroy, null); |
| 19753 | |
| 19754 | if (hasCaughtError()) { |
| 19755 | var error = clearCaughtError(); |
| 19756 | captureCommitPhaseError(current, error); |
| 19757 | } |
| 19758 | } |
| 19759 | } |
| 19760 | |
| 19761 | function commitBeforeMutationLifeCycles(current, finishedWork) { |
| 19762 | switch (finishedWork.tag) { |
no test coverage detected