From f168d0c91b8b57c883bc6fd8ecaab8efee179a82 Mon Sep 17 00:00:00 2001 From: Guogang Li Date: Thu, 13 Mar 2025 16:01:25 -0700 Subject: [PATCH] Call deferal complete when characteristic_data PiperOrigin-RevId: 736669127 --- internal/platform/implementation/windows/ble_gatt_server.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/platform/implementation/windows/ble_gatt_server.cc b/internal/platform/implementation/windows/ble_gatt_server.cc index d61e1ea4..eb90a02d 100644 --- a/internal/platform/implementation/windows/ble_gatt_server.cc +++ b/internal/platform/implementation/windows/ble_gatt_server.cc @@ -542,6 +542,7 @@ void BleGattServer::SetCloseNotifier(absl::AnyInvocable notifier) { LOG(ERROR) << __func__ << ": Failed to find characteristic=" << ::winrt::to_string( ::winrt::to_hstring(gatt_local_characteristic.Uuid())); + deferral.Complete(); return {}; }