From 3fe2e6581cae3eec6e85f73120ba8a78069ae4c1 Mon Sep 17 00:00:00 2001 From: Alexander Blom Date: Mon, 16 May 2016 10:26:19 -0700 Subject: [PATCH] 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 --- ReactCommon/bridge/JSCExecutor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ReactCommon/bridge/JSCExecutor.cpp b/ReactCommon/bridge/JSCExecutor.cpp index f7581bef3..681111c54 100644 --- a/ReactCommon/bridge/JSCExecutor.cpp +++ b/ReactCommon/bridge/JSCExecutor.cpp @@ -191,7 +191,6 @@ void JSCExecutor::initOnJSVMThread() { // Add a pointer to ourselves so we can retrieve it later in our hooks JSObjectSetPrivate(JSContextGetGlobalObject(m_context), this); - installNativeHook<&JSCExecutor::nativeFlushQueueImmediate>("nativeFlushQueueImmediate"); installNativeHook<&JSCExecutor::nativeFlushQueueImmediate>("nativeFlushQueueImmediate"); installNativeHook<&JSCExecutor::nativeStartWorker>("nativeStartWorker"); installNativeHook<&JSCExecutor::nativePostMessageToWorker>("nativePostMessageToWorker");