Skip to content

Commit 93629b2

Browse files
committed
Modify android chiptool crash
1 parent 6c89640 commit 93629b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/controller/CHIPDeviceController.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -1771,12 +1771,12 @@ void DeviceCommissioner::CleanupCommissioning(DeviceProxy * proxy, NodeId nodeId
17711771
if (completionStatus.err == CHIP_NO_ERROR)
17721772
{
17731773
CommissioneeDeviceProxy * commissionee = FindCommissioneeDevice(nodeId);
1774+
CommissioningStageComplete(CHIP_NO_ERROR);
17741775
if (commissionee != nullptr)
17751776
{
17761777
ReleaseCommissioneeDevice(commissionee);
17771778
}
17781779
// Send the callbacks, we're done.
1779-
CommissioningStageComplete(CHIP_NO_ERROR);
17801780
SendCommissioningCompleteCallbacks(nodeId, mCommissioningCompletionStatus);
17811781
}
17821782
else if (completionStatus.err == CHIP_ERROR_CANCELLED)
@@ -2716,6 +2716,8 @@ void DeviceCommissioner::PerformCommissioningStep(DeviceProxy * proxy, Commissio
27162716
params.GetCompletionStatus().err.AsString());
27172717
}
27182718

2719+
ChipLogProgress(Controller, "proxy : %p", proxy);
2720+
27192721
mCommissioningStage = step;
27202722
mCommissioningDelegate = delegate;
27212723
mDeviceBeingCommissioned = proxy;

0 commit comments

Comments
 (0)