Skip to content

Commit 7c855e7

Browse files
Update Device.h
1 parent 12d0745 commit 7c855e7

File tree

1 file changed

+1
-1
lines changed
  • examples/common/pigweed/rpc_services

1 file changed

+1
-1
lines changed

examples/common/pigweed/rpc_services/Device.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,9 +485,9 @@ class Device : public pw_rpc::nanopb::Device::Service<Device>
485485
virtual pw::Status TriggerIcdCheckin(const pw_protobuf_Empty & request, pw_protobuf_Empty & response)
486486
{
487487
#if CHIP_CONFIG_ENABLE_ICD_CIP
488-
chip::app::InteractionModelEngine::GetInstance()->ShutdownAllSubscriptions();
489488
chip::DeviceLayer::PlatformMgr().ScheduleWork(
490489
[](intptr_t) {
490+
chip::app::InteractionModelEngine::GetInstance()->ShutdownAllSubscriptions();
491491
ChipLogDetail(AppServer, "Being triggerred to send ICD check-in message to subscriber");
492492
chip::app::ICDNotifier::GetInstance().NotifyNetworkActivityNotification();
493493
},

0 commit comments

Comments
 (0)