commit | 502164deaae6d4bd6d6e36cc10fa666ceae92e3c | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Apr 14 16:45:18 2015 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Apr 14 16:45:18 2015 -0700 |
tree | 8834b1efbddc31424ebbb762a18a4e4b4153873e | |
parent | 48d81d3b58daa0514b86def4abaf1a5951246fea [diff] [blame] |
Fix destroy ordering bug; add debug flag. Bug: 19993667 Change-Id: Ib15e79a94a185843dace35fea7daaea866120f87
diff --git a/Disk.cpp b/Disk.cpp index 5d53304..01058a5 100644 --- a/Disk.cpp +++ b/Disk.cpp
@@ -163,8 +163,8 @@ void Disk::destroyAllVolumes() { for (auto vol : mVolumes) { - notifyEvent(ResponseCode::DiskVolumeDestroyed, vol->getId()); vol->destroy(); + notifyEvent(ResponseCode::DiskVolumeDestroyed, vol->getId()); } mVolumes.clear(); }