mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
Move FBReactJSExecutor to Instance
Reviewed By: mhorowitz Differential Revision: D4589940 fbshipit-source-id: e3f0c374e78f77e54cede5c617414e41844f0f4d
This commit is contained in:
parent
73e81b87d3
commit
99d73c8927
@ -36,7 +36,6 @@ void Instance::initializeBridge(
|
|||||||
std::shared_ptr<ModuleRegistry> moduleRegistry) {
|
std::shared_ptr<ModuleRegistry> moduleRegistry) {
|
||||||
callback_ = std::move(callback);
|
callback_ = std::move(callback);
|
||||||
|
|
||||||
|
|
||||||
jsQueue->runOnQueueSync(
|
jsQueue->runOnQueueSync(
|
||||||
[this, &jsef, moduleRegistry, jsQueue] () mutable {
|
[this, &jsef, moduleRegistry, jsQueue] () mutable {
|
||||||
nativeToJsBridge_ = folly::make_unique<NativeToJsBridge>(
|
nativeToJsBridge_ = folly::make_unique<NativeToJsBridge>(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user