-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[app] Add option to disable Read Client #28050
[app] Add option to disable Read Client #28050
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems a little hard to find, can we document this somewhere?
@@ -1723,7 +1725,7 @@ void InteractionModelEngine::OnFabricRemoved(const FabricTable & fabricTable, Fa | |||
|
|||
return Loop::Continue; | |||
}); | |||
|
|||
#if CHIP_CONFIG_ENABLE_READ_CLIENT | |||
for (auto * readClient = mpActiveReadClientList; readClient != nullptr; readClient = readClient->GetNextClient()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about actually removing mpActiveReadClientList too? @wqx6
This reverts commit a48afe0.
* Add option to disable Read Client * Restyled by gn --------- Co-authored-by: Restyled.io <commits@restyled.io>
@wqx6 - why does link time optimization not clean out read client? |
The Read Client is not required for some device types. So add an option to disable it for some flash optimization.