From 6e27e5421ce305f396b2347dd21510ae628a5478 Mon Sep 17 00:00:00 2001 From: SUE Date: Thu, 21 Apr 2022 07:21:50 +0000 Subject: [PATCH] fixed d35ba87 from https://gitee.com/hellohyh001/sensors_sensor_3/pulls/135 Signed-off-by:hellohyh001 --- frameworks/native/sensor/src/sensor_service_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/native/sensor/src/sensor_service_client.cpp b/frameworks/native/sensor/src/sensor_service_client.cpp index 92fbb2ba..af3883aa 100755 --- a/frameworks/native/sensor/src/sensor_service_client.cpp +++ b/frameworks/native/sensor/src/sensor_service_client.cpp @@ -185,7 +185,7 @@ void SensorServiceClient::ProcessDeathObserver(const wptr &object { CALL_LOG_ENTER; (void)object; - CHKPL(dataChannel_); + CHKPV(dataChannel_); // STEP1 : Destroy revious data channel dataChannel_->DestroySensorDataChannel(); -- Gitee