Skip to content
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

Align the flag check between InetLayer::Init and InetLayer::Shutdown #7883

Merged
merged 1 commit into from
Jun 28, 2021
Merged

Align the flag check between InetLayer::Init and InetLayer::Shutdown #7883

merged 1 commit into from
Jun 28, 2021

Conversation

yufengwangca
Copy link
Contributor

Problem

What is being fixed? Examples:
The #if checking within InetLayer::Init is not aligned with InetLayer::Shutdown, this prevent me from adding new initialization code at proper place.

Change overview

Align the flag check between InetLayer::Init and InetLayer::Shutdown to guarantee mAsyncDNSResolver is initialized and shutdown symmetrically.

Testing

How was this tested? (at least one bullet point required)
No logic change, the current CI should be good enough to verify the correctness.

@saurabhst saurabhst merged commit 10a7ac6 into project-chip:master Jun 28, 2021
@yufengwangca yufengwangca deleted the pr/inet/flags branch June 28, 2021 23:13
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this pull request Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants