VirtualBox

儲存庫 vbox 的更動 66622


忽略:
時間撮記:
2017-4-20 上午10:03:06 (8 年 以前)
作者:
vboxsync
訊息:

ValidationKit: Kill cdb.exe on Windows during uninstall. No idea why sometimes it hangs around (it is started in utils.getProcessInfo), but its presence blocks scratch directory removal.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py

    r66618 r66622  
    841841                asProdCodes.append([sProdCode, sProdName]);
    842842
    843         # Before we start uninstalling anything, just ruthlessly kill any
     843        # Before we start uninstalling anything, just ruthlessly kill any cdb,
    844844        # msiexec, drvinst and some rundll process we might find hanging around.
    845845        if self._isProcessPresent('rundll32'):
     
    876876                if cKilled > 0:
    877877                    time.sleep(16); # fudge.
     878
     879        # cdb.exe sometimes stays running (from utils.getProcessInfo), blocking
     880        # the scratch directory. No idea why.
     881        if self._isProcessPresent('cdb'):
     882            cTimes = 0;
     883            while cTimes < 3:
     884                cKilled = self._killProcessesByName('cdb', 'cdb.exe from getProcessInfo');
     885                if cKilled <= 0:
     886                    break;
     887                time.sleep(2); # fudge.
    878888
    879889        # Do the uninstalling.
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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