-
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
[IM] Move lifecycle management of WriteClient to application #13248
Merged
erjiaqing
merged 3 commits into
project-chip:master
from
erjiaqing:im/read-write-lifecycle
Jan 20, 2022
Merged
[IM] Move lifecycle management of WriteClient to application #13248
erjiaqing
merged 3 commits into
project-chip:master
from
erjiaqing:im/read-write-lifecycle
Jan 20, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
erjiaqing
force-pushed
the
im/read-write-lifecycle
branch
from
December 28, 2021 09:16
8edd47b
to
baa8c69
Compare
pullapprove
bot
requested review from
andy31415,
anush-apple,
austinh0,
balducci-apple,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
franck-apple,
gjc13,
harimau-qirex,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
kpschoedel,
LuDuda,
lzgrablic02,
mrjerryjohns,
msandstedt and
pan-apple
December 28, 2021 09:16
erjiaqing
force-pushed
the
im/read-write-lifecycle
branch
from
January 18, 2022 08:07
022785b
to
c2a20b9
Compare
PR #13248: Size comparison from d611c63 to c2a20b9 Increases (1 build for linux)
Decreases (26 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
erjiaqing
force-pushed
the
im/read-write-lifecycle
branch
from
January 18, 2022 11:24
c2a20b9
to
f44d883
Compare
PR #13248: Size comparison from d611c63 to f44d883 Increases (1 build for linux)
Decreases (24 builds for efr32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (30 builds for efr32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
erjiaqing
force-pushed
the
im/read-write-lifecycle
branch
2 times, most recently
from
January 19, 2022 07:32
99b8ae5
to
2e86eeb
Compare
PR #13248: Size comparison from 150c479 to 2e86eeb Increases (1 build for linux)
Decreases (26 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
erjiaqing
force-pushed
the
im/read-write-lifecycle
branch
from
January 19, 2022 09:16
2e86eeb
to
b8e59c4
Compare
PR #13248: Size comparison from 150c479 to b8e59c4 Increases (1 build for linux)
Decreases (26 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
bzbarsky-apple
approved these changes
Jan 19, 2022
Co-authored-by: Boris Zbarsky <[email protected]>
mrjerryjohns
approved these changes
Jan 20, 2022
erjiaqing
force-pushed
the
im/read-write-lifecycle
branch
from
January 20, 2022 04:58
67dda87
to
98ef9dc
Compare
PR #13248: Size comparison from 3853608 to 98ef9dc Increases (1 build for linux)
Decreases (26 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
vivien-apple
added a commit
to vivien-apple/connectedhomeip-1
that referenced
this pull request
Jan 20, 2022
andy31415
pushed a commit
that referenced
this pull request
Jan 20, 2022
selissia
pushed a commit
to selissia/connectedhomeip
that referenced
this pull request
Jan 28, 2022
…-chip#13248) * [IM] Move ownership of WriteClient to application * Update src/app/WriteClient.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Move Init to private Co-authored-by: Boris Zbarsky <[email protected]>
selissia
pushed a commit
to selissia/connectedhomeip
that referenced
this pull request
Jan 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Fixes #8006 -- when there is no WriteClient / CommandSender instances, the related code should be optimized out.
Unlike ReadClient and CommandSender, management of the lifecycle of WriteClient is handled by interaction model engine.
Change overview
Update the code to make it managed by application.
Testing