mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert D20464278: Make Lambda function called in NativeModule mutable to improve performance
Differential Revision: D20464278 Original commit changeset: 846a8bc6c61c fbshipit-source-id: 71b69687ab3c279ec4e14f633700355af2291705
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5296a740a7
commit
44618c80ed
@@ -148,7 +148,7 @@ void CxxNativeModule::invoke(
|
||||
// mhorowitz #7128529: convert C++ exceptions to Java
|
||||
|
||||
messageQueueThread_->runOnQueue(
|
||||
[method, params = std::move(params), first, second, callId]() mutable {
|
||||
[method, params = std::move(params), first, second, callId]() {
|
||||
#ifdef WITH_FBSYSTRACE
|
||||
if (callId != -1) {
|
||||
fbsystrace_end_async_flow(TRACE_TAG_REACT_APPS, "native", callId);
|
||||
|
||||
Reference in New Issue
Block a user