From 55628acbdc5c8ecd037260e8dd63da94081f6553 Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Wed, 12 Jul 2023 10:13:19 -0700 Subject: [PATCH] Remove debug only code (#38128) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38128 changelog: [internal] This is debug code that should not have been committed. It is harmless but still should be removed. Reviewed By: NickGerleman Differential Revision: D47127817 fbshipit-source-id: 6a13cbf0bf678ef5b7c5e8148e28ce78fba7d6de --- .../Mounting/ComponentViews/Image/RCTImageComponentView.mm | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/react-native/React/Fabric/Mounting/ComponentViews/Image/RCTImageComponentView.mm b/packages/react-native/React/Fabric/Mounting/ComponentViews/Image/RCTImageComponentView.mm index 65cea1460fc..472d83e45b1 100644 --- a/packages/react-native/React/Fabric/Mounting/ComponentViews/Image/RCTImageComponentView.mm +++ b/packages/react-native/React/Fabric/Mounting/ComponentViews/Image/RCTImageComponentView.mm @@ -109,9 +109,6 @@ using namespace facebook::react; // This will only become issue if we decouple life cycle of a // ShadowNode from ComponentView, which is not something we do now. imageRequest.cancel(); - imageRequest.cancel(); - imageRequest.cancel(); - imageRequest.cancel(); } }