Changeset 24462 in vbox for trunk/src/VBox
- Timestamp:
- Nov 6, 2009 4:20:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MediumImpl.cpp
r24458 r24462 3306 3306 3307 3307 hdFrom = this; 3308 3309 // deleteStorageAndWait calls unregisterWithVirtualBox which gets 3310 // a write tree lock, so don't deadlock 3311 treeLock.unlock(); 3312 alock.unlock(); 3308 3313 3309 3314 rc = deleteStorageAndWait(&aProgress); … … 4043 4048 * it holds a mVirtualBox lock too of course). */ 4044 4049 4045 AutoWriteLock vboxLock(mVirtualBox); 4046 4047 AutoWriteLock alock(this); 4050 AutoMultiWriteLock2 alock(mVirtualBox->lockHandle(), this->lockHandle()); 4048 4051 4049 4052 if ( !(m->formatObj->capabilities() & ( MediumFormatCapabilities_CreateDynamic
Note:
See TracChangeset
for help on using the changeset viewer.