File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,10 @@ CHIP_ERROR Server::Init(const ServerInitParams & initParams)
247
247
}
248
248
#endif // CHIP_CONFIG_ENABLE_SERVER_IM_EVENT
249
249
250
+ #ifdef CHIP_CONFIG_ENABLE_ICD_SERVER
251
+ mICDEventManager .Init (&mICDManager );
252
+ #endif // CHIP_CONFIG_ENABLE_ICD_SERVER
253
+
250
254
// This initializes clusters, so should come after lower level initialization.
251
255
InitDataModelHandler ();
252
256
@@ -484,6 +488,9 @@ void Server::Shutdown()
484
488
mAccessControl .Finish ();
485
489
Access::ResetAccessControlToDefault ();
486
490
Credentials::SetGroupDataProvider (nullptr );
491
+ #ifdef CHIP_CONFIG_ENABLE_ICD_SERVER
492
+ mICDEventManager .Shutdown ();
493
+ #endif // CHIP_CONFIG_ENABLE_ICD_SERVER
487
494
mAttributePersister .Shutdown ();
488
495
// TODO(16969): Remove chip::Platform::MemoryInit() call from Server class, it belongs to outer code
489
496
chip::Platform::MemoryShutdown ();
You can’t perform that action at this time.
0 commit comments