mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deleting Optimized Bundle!
Reviewed By: javache Differential Revision: D4566164 fbshipit-source-id: 1fbd3dd04f24399e93e3c6ec58956e6e18f1683f
This commit is contained in:
committed by
Facebook Github Bot
parent
7c97008fa8
commit
14dc219810
@@ -111,20 +111,6 @@ NativeToJsBridge::~NativeToJsBridge() {
|
||||
"NativeToJsBridge::destroy() must be called before deallocating the NativeToJsBridge!";
|
||||
}
|
||||
|
||||
void NativeToJsBridge::loadOptimizedApplicationScript(
|
||||
std::string bundlePath,
|
||||
std::string sourceURL,
|
||||
int flags) {
|
||||
runOnExecutorQueue(
|
||||
m_mainExecutorToken,
|
||||
[bundlePath=std::move(bundlePath),
|
||||
sourceURL=std::move(sourceURL),
|
||||
flags=flags]
|
||||
(JSExecutor* executor) {
|
||||
executor->loadApplicationScript(std::move(bundlePath), std::move(sourceURL), flags);
|
||||
});
|
||||
}
|
||||
|
||||
void NativeToJsBridge::loadApplication(
|
||||
std::unique_ptr<JSModulesUnbundle> unbundle,
|
||||
std::unique_ptr<const JSBigString> startupScript,
|
||||
|
||||
Reference in New Issue
Block a user