Current implementation of draft store operations creation and processing does not obey new policy regarding cancellable asynchronous tasks and tries to access 'payload' property of draft store operation object even if the operation is of type 'remove_all' and does not contain this property. This results in app crashes when logging out.
Details
Details
- Reviewers
tomek kamil • jon - Commits
- rCOMM615c48dc775a: Fix draft store operations
Build native app on top of https://phab.comm.dev/D5712. Log out - see that app crashes. Apply this differential. See that application does not crash and succesfully logs out.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- marcin/fix-draft-store-operations
- Lint
No Lint Coverage - Unit
No Test Coverage