From 9c3b5b002be5f01e0b662252a93e338ad40899c5 Mon Sep 17 00:00:00 2001 From: hui1975 Date: Thu, 30 Mar 2023 06:09:10 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=80=E8=A1=8C=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hui1975 Change-Id: I8184590bc91dfe90acbc9afdf667ab0329606ece --- interfaces/plugin/src/sensor_js.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/interfaces/plugin/src/sensor_js.cpp b/interfaces/plugin/src/sensor_js.cpp index 4c479aa3..c80df7c0 100644 --- a/interfaces/plugin/src/sensor_js.cpp +++ b/interfaces/plugin/src/sensor_js.cpp @@ -106,7 +106,6 @@ static void EmitSubscribeCallback(SensorEvent *event) return; } std::lock_guard subscribeLock(mutex_); - auto callback = g_subscribeCallbacks[sensorTypeId]; auto callbacks = g_subscribeCallbacks[sensorTypeId]; for (auto &callback : callbacks) { if (!copySensorData(callback, event)) { -- Gitee