(current, instance)
| 11229 | |
| 11230 | // Capture errors so they don't interrupt unmounting. |
| 11231 | function safelyCallComponentWillUnmount(current, instance) { |
| 11232 | { |
| 11233 | invokeGuardedCallback$3(null, callComponentWillUnmountWithTimer, null, current, instance); |
| 11234 | if (hasCaughtError$1()) { |
| 11235 | var unmountError = clearCaughtError$1(); |
| 11236 | captureError(current, unmountError); |
| 11237 | } |
| 11238 | } |
| 11239 | } |
| 11240 | |
| 11241 | function safelyDetachRef(current) { |
| 11242 | var ref = current.ref; |