Skip to content

Commit

Permalink
defer exchange mgr shutdown to a separate PR
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-apple committed Jun 1, 2021
1 parent 10b13b5 commit 25ea6a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,11 @@ CHIP_ERROR DeviceController::Shutdown()

mState = State::NotInitialized;

if (mExchangeMgr != nullptr)
{
mExchangeMgr->Shutdown();
}

// TODO(#6668): Some exchange has leak, shutting down ExchangeManager will cause a assert fail.
// if (mExchangeMgr != nullptr)
// {
// mExchangeMgr->Shutdown();
// }
if (mSessionMgr != nullptr)
{
mSessionMgr->Shutdown();
Expand Down

0 comments on commit 25ea6a0

Please sign in to comment.