(current, destroy)
| 23308 | } |
| 23309 | |
| 23310 | function safelyCallDestroy(current, destroy) { |
| 23311 | { |
| 23312 | invokeGuardedCallback(null, destroy, null); |
| 23313 | |
| 23314 | if (hasCaughtError()) { |
| 23315 | var error = clearCaughtError(); |
| 23316 | captureCommitPhaseError(current, error); |
| 23317 | } |
| 23318 | } |
| 23319 | } |
| 23320 | |
| 23321 | function commitBeforeMutationLifeCycles(current, finishedWork) { |
| 23322 | switch (finishedWork.tag) { |
no test coverage detected