Changeset 98102 in vbox
- Timestamp:
- Jan 17, 2023 11:11:43 AM (23 months ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/MediumLock.h
r96407 r98102 342 342 HRESULT Unlock(); 343 343 344 /** Introspection. */ 345 bool IsLocked(void) const { return mIsLocked; } 346 344 347 private: 345 348 typedef std::map<ComObjPtr<MediumAttachment>, MediumLockList *> Base; -
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r98101 r98102 4013 4013 else 4014 4014 { 4015 Assert(mData->mSession.mLockedMedia.IsLocked()); 4015 4016 mData->mSession.mLockedMedia.Unlock(); 4016 4017 alock.release(); … … 4114 4115 else 4115 4116 { 4117 Assert(mData->mSession.mLockedMedia.IsLocked()); 4116 4118 mData->mSession.mLockedMedia.Unlock(); 4117 4119 alock.release(); … … 4389 4391 else 4390 4392 { 4393 Assert(mData->mSession.mLockedMedia.IsLocked()); 4391 4394 mData->mSession.mLockedMedia.Unlock(); 4392 4395 alock.release(); … … 12069 12072 if (!fMediaNeedsLocking) 12070 12073 { 12074 Assert(mData->mSession.mLockedMedia.IsLocked()); 12071 12075 rc = mData->mSession.mLockedMedia.Unlock(); 12072 12076 AssertComRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.