From 44ff3f46a5bfd121000be69e00e79272b1dd9835 Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Tue, 17 Dec 2019 18:24:06 -0800 Subject: [PATCH] Fabric: Re-enabling RN_SHADOW_TREE_INTROSPECTION in DEBUG mode Summary: This diff reverts D15908765 where we disabled the introspection feature because we were afraid that it leaks into prod because of some sort of misconfiguration. Seems that wasn't the case. We need to re-enable this to get some signals if it's broken. Changelog: [Internal] Fabric-specific internal change. Reviewed By: JoshuaGross Differential Revision: D19104526 fbshipit-source-id: 696c0e68bb858da270dbbb5da11032e664d75659 --- ReactCommon/fabric/mounting/MountingCoordinator.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ReactCommon/fabric/mounting/MountingCoordinator.h b/ReactCommon/fabric/mounting/MountingCoordinator.h index aaac9185d12..0a099103828 100644 --- a/ReactCommon/fabric/mounting/MountingCoordinator.h +++ b/ReactCommon/fabric/mounting/MountingCoordinator.h @@ -13,6 +13,10 @@ #include #include +#ifndef NDEBUG +#define RN_SHADOW_TREE_INTROSPECTION +#endif + #ifdef RN_SHADOW_TREE_INTROSPECTION #include #endif