Skip to content

Commit 0161873

Browse files
Move the unused RCTTimingCls module under RCT_REMOVE_LEGACY_ARCH
Summary: Changelog: [INTERNAL] RCTTiming is NOT used in the RN new architecture: #57081 And will be deleted in: #57037 This change removes it from the binary Differential Revision: D113474826
1 parent c1265df commit 0161873

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/react-native/React/CoreModules/RCTTiming.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,9 @@ - (void)createTimerForNextFrame:(nonnull NSNumber *)callbackID
429429

430430
@end
431431

432+
#ifndef RCT_REMOVE_LEGACY_ARCH
432433
Class RCTTimingCls(void)
433434
{
434435
return RCTTiming.class;
435436
}
437+
#endif

0 commit comments

Comments
 (0)