Fabric: Removed leftovers from RCTScheduler
Summary: Trivial. We use `EventBeatFactory`s instead. Reviewed By: mdvacca Differential Revision: D9799856 fbshipit-source-id: 67a130161026565ecc948427ffa658837d9bbfc2
This commit is contained in:
parent
e05acf1930
commit
a3752c6c63
|
@ -69,9 +69,6 @@ private:
|
||||||
contextContainer->registerInstance<EventBeatFactory>(synchronousBeatFactory, "synchronous");
|
contextContainer->registerInstance<EventBeatFactory>(synchronousBeatFactory, "synchronous");
|
||||||
contextContainer->registerInstance<EventBeatFactory>(asynchronousBeatFactory, "asynchronous");
|
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];
|
void *imageLoader = (__bridge void *)[[RCTBridge currentBridge] imageLoader];
|
||||||
contextContainer->registerInstance(std::make_shared<ImageManager>(imageLoader));
|
contextContainer->registerInstance(std::make_shared<ImageManager>(imageLoader));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue