diff --git a/React/CxxBridge/RCTObjcExecutor.mm b/React/CxxBridge/RCTObjcExecutor.mm index 476bcff9b40709..94c07178969b1b 100644 --- a/React/CxxBridge/RCTObjcExecutor.mm +++ b/React/CxxBridge/RCTObjcExecutor.mm @@ -45,7 +45,10 @@ { m_jsCallback = ^(id json, NSError *error) { if (error) { - m_errorBlock(error); + // Do not use "m_errorBlock" here as the bridge might be in the middle + // of invalidation as a result of error handling and "this" can be + // already deallocated. + errorBlock(error); return; }