Skip to content

Commit

Permalink
Revert D66143498
Browse files Browse the repository at this point in the history
Summary:
This diff reverts D66143498
T209377282 Breaking tests on Twilight

Differential Revision: D66717950

fbshipit-source-id: 640592761fec29ed6e11a8b6faf441dd44685c42
  • Loading branch information
r-barnes authored and facebook-github-bot committed Dec 3, 2024
1 parent 7255278 commit 5e7eb9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-native/React/Base/RCTModuleData.mm
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,8 @@ - (void)gatherConstantsAndSignalJSRequireEnding:(BOOL)startMarkers
- (dispatch_queue_t)methodQueue
{
if (_bridge.valid) {
RCTAssert(_methodQueue != nullptr, @"Module %@ has no methodQueue (instance: %@)", self, self.instance);
id instance = self.instance;
RCTAssert(_methodQueue != nullptr, @"Module %@ has no methodQueue (instance: %@)", self, instance);
}
return _methodQueue;
}
Expand Down

0 comments on commit 5e7eb9f

Please sign in to comment.