(current, instance)
| 11367 | |
| 11368 | // Capture errors so they don't interrupt unmounting. |
| 11369 | function safelyCallComponentWillUnmount(current, instance) { |
| 11370 | { |
| 11371 | invokeGuardedCallback$3(null, callComponentWillUnmountWithTimer, null, current, instance); |
| 11372 | if (hasCaughtError$1()) { |
| 11373 | var unmountError = clearCaughtError$1(); |
| 11374 | captureError(current, unmountError); |
| 11375 | } |
| 11376 | } |
| 11377 | } |
| 11378 | |
| 11379 | function safelyDetachRef(current) { |
| 11380 | var ref = current.ref; |