Skip to content

Commit

Permalink
Do not set systemLayer to null
Browse files Browse the repository at this point in the history
  • Loading branch information
nivi-apple committed Nov 6, 2023
1 parent aab0b65 commit 579daeb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <app/CommandHandlerInterface.h>
#include <app/ConcreteCommandPath.h>
#include <app/InteractionModelEngine.h>
#include <app/util/config.h>
#include <lib/support/ScopedBuffer.h>
#include <messaging/ExchangeContext.h>

Expand Down
2 changes: 0 additions & 2 deletions src/protocols/bdx/TransferFacilitator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ CHIP_ERROR Responder::PrepareForTransfer(System::Layer * layer, TransferRole rol
void Responder::ResetTransfer()
{
mTransfer.Reset();
mSystemLayer = nullptr;
ChipLogProgress(BDX, "Stop polling for messages");
mStopPolling = true;
}
Expand All @@ -136,7 +135,6 @@ CHIP_ERROR Initiator::InitiateTransfer(System::Layer * layer, TransferRole role,
void Initiator::ResetTransfer()
{
mTransfer.Reset();
mSystemLayer = nullptr;
ChipLogProgress(BDX, "Stop polling for messages");
mStopPolling = true;
}
Expand Down

0 comments on commit 579daeb

Please sign in to comment.