vbox的更動 62292 路徑 trunk/src/VBox/Main
- 時間撮記:
- 2016-7-18 上午08:57:06 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
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();
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器