VirtualBox

忽略:
時間撮記:
2010-5-31 下午12:29:28 (14 年 以前)
作者:
vboxsync
訊息:

Guest Control: Clean up call list on client disconnection as well.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/HostServices/GuestControl/service.cpp

    r29867 r29898  
    436436    int rc = VINF_SUCCESS;
    437437
     438    CallListIter itCall = mClientList.begin();
     439    while (itCall != mClientList.end())
     440    {
     441        if (itCall->mClientID == u32ClientID)
     442        {       
     443            itCall = mClientList.erase(itCall);
     444        }
     445        else
     446            itCall++;
     447    }
     448
    438449    ClientContextsListIter it = mClientContextsList.begin();
    439450    while (   it != mClientContextsList.end()
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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