Skip to content

Commit ad53e1e

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/CHIPDeviceController.cpp

+1-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)

0 commit comments

Comments
 (0)