Changeset 70660 in vbox for trunk/src/VBox/ValidationKit/testdriver/vbox.py
- Timestamp:
- Jan 21, 2018 4:18:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r70611 r70660 1450 1450 1451 1451 # If not being used, we can safely uninitialize COM. 1452 if cIfs == 0 and cObjs == 0 and cVBoxMgrs == 0 and len(aoObjsLeftBehind) == 0:1452 if cIfs == 0 and cObjs == 0 and cVBoxMgrs == 0 and not aoObjsLeftBehind: 1453 1453 reporter.log('_teardownVBoxApi: Calling CoUninitialize...'); 1454 1454 try: pythoncom.CoUninitialize(); # pylint: disable=no-member … … 1501 1501 else: 1502 1502 fPrinted = False; 1503 if isinstance(oReferrer, dict) or isinstance(oReferrer, list) or isinstance(oReferrer, tuple):1503 if isinstance(oReferrer, (dict, list, tuple)): 1504 1504 try: 1505 1505 aoSubReferreres = gc.get_referrers(oReferrer);
Note:
See TracChangeset
for help on using the changeset viewer.