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

Commit 82493b7

Browse files
authored
Merge pull request #402 from openweave/feature/fix_flush_update_error_return
NoMorePendingEventCbHelper needs to be called when flush empty updates
2 parents 1a2e352 + a1941f2 commit 82493b7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3250,6 +3250,11 @@ WEAVE_ERROR SubscriptionClient::FlushUpdate(bool aForce)
32503250
exit:
32513251
UnlockUpdateMutex();
32523252

3253+
if (mPendingSetState == kPendingSetEmpty)
3254+
{
3255+
NoMorePendingEventCbHelper();
3256+
}
3257+
32533258
return err;
32543259
}
32553260

0 commit comments

Comments
 (0)