Skip to content
Commit 0277db47 authored by Shreyas Basarge's avatar Shreyas Basarge
Browse files

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
parent 2c02bd1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment