diff --git a/packages/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.cpp b/packages/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.cpp index e3c954552fb962..9d979b95afe4e4 100644 --- a/packages/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.cpp +++ b/packages/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.cpp @@ -98,7 +98,7 @@ void Binding::driveCxxAnimations() { } void Binding::reportMount(SurfaceId surfaceId) { - const auto& scheduler = getScheduler(); + auto scheduler = getScheduler(); if (!scheduler) { LOG(ERROR) << "Binding::reportMount: scheduler disappeared"; return;