Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 8b75fef

Browse files
authored
Merge pull request #405 from openweave/feature/fix_pending_update_state_clean
fix pending update state clean when discarding Update
2 parents 0944f51 + d7dfb79 commit 8b75fef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/profiles/data-management/Current/SubscriptionClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2913,6 +2913,7 @@ void SubscriptionClient::AbortUpdates(WEAVE_ERROR aErr)
29132913
{
29142914
numPending = mPendingUpdateSet.GetNumItems();
29152915
mPendingUpdateSet.Clear();
2916+
SetPendingSetState(kPendingSetEmpty);
29162917

29172918
numInProgress = mInProgressUpdateList.GetNumItems();
29182919
mInProgressUpdateList.Clear();

0 commit comments

Comments
 (0)