Skip to content

Commit

Permalink
Fabric: Removed leftovers from RCTScheduler
Browse files Browse the repository at this point in the history
Summary: Trivial. We use `EventBeatFactory`s instead.

Reviewed By: mdvacca

Differential Revision: D9799856

fbshipit-source-id: 67a130161026565ecc948427ffa658837d9bbfc2
  • Loading branch information
shergin authored and facebook-github-bot committed Sep 14, 2018
1 parent e05acf1 commit a3752c6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions React/Fabric/RCTScheduler.mm
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ - (instancetype)init
contextContainer->registerInstance<EventBeatFactory>(synchronousBeatFactory, "synchronous");
contextContainer->registerInstance<EventBeatFactory>(asynchronousBeatFactory, "asynchronous");

contextContainer->registerInstance<std::shared_ptr<EventBeat>>(std::make_shared<MainRunLoopEventBeat>(), "synchronous");
contextContainer->registerInstance<std::shared_ptr<EventBeat>>(std::make_shared<MessageQueueEventBeat>(bridge.jsMessageThread), "asynchronous");

void *imageLoader = (__bridge void *)[[RCTBridge currentBridge] imageLoader];
contextContainer->registerInstance(std::make_shared<ImageManager>(imageLoader));

Expand Down

0 comments on commit a3752c6

Please sign in to comment.