Fix sending a flushBuffer twice stops the database from removing pending flags on events #24
Labels
status:completed
Completed - but might not be released yet.
type:defect
Bugs or weaknesses. The issue has to contain steps to reproduce.
Milestone
In
flushBuffer
we re-initialize theindexArray
that holds the events with the pending flag set. So pending events are eventually forgotten.The fix is to make a copy of the
indexArray
when right before we hit theAsyncTask
and use that copy to callEventStore.removeEvent
.The text was updated successfully, but these errors were encountered: