Skip to content

Commit

Permalink
Merge c24f397 into 94ce2b0
Browse files Browse the repository at this point in the history
  • Loading branch information
pan- authored Jul 15, 2021
2 parents 94ce2b0 + c24f397 commit 1493093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/inet/InetLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ CHIP_ERROR InetLayer::Shutdown()
TCPEndPoint * lEndPoint = TCPEndPoint::sPool.Get(*mSystemLayer, i);
if ((lEndPoint != nullptr) && lEndPoint->IsCreatedByInetLayer(*this))
{
lEndPoint->Abort();
lEndPoint->Free();
}
}
#endif // INET_CONFIG_ENABLE_TCP_ENDPOINT
Expand All @@ -366,7 +366,7 @@ CHIP_ERROR InetLayer::Shutdown()
UDPEndPoint * lEndPoint = UDPEndPoint::sPool.Get(*mSystemLayer, i);
if ((lEndPoint != nullptr) && lEndPoint->IsCreatedByInetLayer(*this))
{
lEndPoint->Close();
lEndPoint->Free();
}
}
#endif // INET_CONFIG_ENABLE_UDP_ENDPOINT
Expand Down

0 comments on commit 1493093

Please sign in to comment.