Changeset 52168 in vbox
- Timestamp:
- Jul 24, 2014 1:43:46 PM (11 years ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r52095 r52168 8286 8286 8287 8287 if (FAILED(mrc)) 8288 {8289 treeLock.acquire();8290 8288 /* break parent association on failure to register */ 8291 8289 this->i_deparent(); // removes target from parent 8292 }8293 8290 } 8294 8291 else -
trunk/src/VBox/Main/src-server/SnapshotImpl.cpp
r52095 r52168 3471 3471 rc = mParent->i_registerMedium(pDeleteRec->mpTarget, &pDeleteRec->mpTarget, DeviceType_HardDisk, treeLock); 3472 3472 AssertComRC(rc); 3473 treeLock.acquire();3474 3473 } 3475 3474 else -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r52095 r52168 4251 4251 } 4252 4252 4253 // Restore the initial lock state, so that no unexpected lock changes are 4254 // done by this method, which would need adjustments everywhere. 4255 mediaTreeLock.acquire(); 4256 4253 4257 return rc; 4254 4258 }
Note:
See TracChangeset
for help on using the changeset viewer.