Changeset 62292 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jul 18, 2016 8:57:06 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r62192 r62292 12589 12589 // we need to lock this object in uninit() because the lock is shared 12590 12590 // with mPeer (as well as data we modify below). mParent lock is needed 12591 // by several calls to it , and USB needs host lock.12592 AutoMultiWriteLock 3 multilock(mParent, mParent->i_host(), this COMMA_LOCKVAL_SRC_POS);12591 // by several calls to it. 12592 AutoMultiWriteLock2 multilock(mParent, this COMMA_LOCKVAL_SRC_POS); 12593 12593 12594 12594 #ifdef VBOX_WITH_RESOURCE_USAGE_API … … 12645 12645 while (it != mData->mSession.mRemoteControls.end()) 12646 12646 { 12647 ComPtr<IInternalSessionControl> pControl = *it; 12648 mData->mSession.mRemoteControls.erase(it); 12647 12649 LogFlowThisFunc((" Calling remoteControl->Uninitialize()...\n")); 12648 HRESULT rc = (*it)->Uninitialize();12650 HRESULT rc = pControl->Uninitialize(); 12649 12651 LogFlowThisFunc((" remoteControl->Uninitialize() returned %08X\n", rc)); 12650 12652 if (FAILED(rc)) 12651 12653 Log1WarningThisFunc(("Forgot to close the remote session?\n")); 12652 ++it; 12654 multilock.acquire(); 12655 it = mData->mSession.mRemoteControls.begin(); 12653 12656 } 12654 12657 mData->mSession.mRemoteControls.clear();
Note:
See TracChangeset
for help on using the changeset viewer.