VirtualBox

儲存庫 vbox 的更動 18520


忽略:
時間撮記:
2009-3-30 上午08:45:50 (16 年 以前)
作者:
vboxsync
訊息:

Main: #3548 VBoxSVC holds vm xml definition file open after VM is unregistered
Make Machine::unlockConfig public and call it from VirtualBox::UnregisterMachine.

位置:
trunk/src/VBox/Main
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/VirtualBoxImpl.cpp

    r18518 r18520  
    10931093    /* save the global registry */
    10941094    rc = saveSettings();
     1095    CheckComRCReturnRC (rc);
     1096
     1097    /* Close settings file for this machine. */
     1098    rc = machine->unlockConfig();
    10951099
    10961100    /* return the unregistered machine to the caller */
  • trunk/src/VBox/Main/include/MachineImpl.h

    r18214 r18520  
    799799
    800800    HRESULT lockConfig();
     801public: /* To have it available in VirtualBox::UnregisterMachine. */
    801802    HRESULT unlockConfig();
    802803
     804protected:
    803805    /** @note This method is not thread safe */
    804806    BOOL isConfigLocked()
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette