Remove duplicate install of nativeFlushQueueImmediate
Summary: This was accidentally added twice. **Test plan (required)** CI Closes https://github.com/facebook/react-native/pull/7584 Differential Revision: D3305537 Pulled By: astreet fbshipit-source-id: 7d652f9c7762cb66715f1b7235a186513d9b938d
This commit is contained in:
parent
10429b5822
commit
3fe2e6581c
|
@ -191,7 +191,6 @@ void JSCExecutor::initOnJSVMThread() {
|
||||||
// Add a pointer to ourselves so we can retrieve it later in our hooks
|
// Add a pointer to ourselves so we can retrieve it later in our hooks
|
||||||
JSObjectSetPrivate(JSContextGetGlobalObject(m_context), this);
|
JSObjectSetPrivate(JSContextGetGlobalObject(m_context), this);
|
||||||
|
|
||||||
installNativeHook<&JSCExecutor::nativeFlushQueueImmediate>("nativeFlushQueueImmediate");
|
|
||||||
installNativeHook<&JSCExecutor::nativeFlushQueueImmediate>("nativeFlushQueueImmediate");
|
installNativeHook<&JSCExecutor::nativeFlushQueueImmediate>("nativeFlushQueueImmediate");
|
||||||
installNativeHook<&JSCExecutor::nativeStartWorker>("nativeStartWorker");
|
installNativeHook<&JSCExecutor::nativeStartWorker>("nativeStartWorker");
|
||||||
installNativeHook<&JSCExecutor::nativePostMessageToWorker>("nativePostMessageToWorker");
|
installNativeHook<&JSCExecutor::nativePostMessageToWorker>("nativePostMessageToWorker");
|
||||||
|
|
Loading…
Reference in New Issue