diff options
author | Shreyas Basarge <snb@google.com> | 2017-02-16 00:56:59 +0000 |
---|---|---|
committer | Shreyas Basarge <snb@google.com> | 2017-02-16 14:16:14 +0000 |
commit | 0277db478d0e24b23b1637c0323842bf3e185d87 (patch) | |
tree | 21e2c9d350c385bc1987f58a4ecfd8cf1858adf0 /tools/aapt2/diff/Diff.cpp | |
parent | 2c02bd1cf08d54baceac5a44ef64a2bc8f2e1e4b (diff) |
Better iteration over mCurrentOperations in cancelBackups
handleCancel was being called on an operation
while we are iterating over all operations.
This can cause issues if handleCancel modifies
the array containing all operations.
Test: Run cancelBackup GTS tests.
Change-Id: If3fbe7b5d9e61aa870f8f6e0dd1654e735c0c5b8
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions