Changeset 69558 in vbox
- Timestamp:
- Nov 3, 2017 2:23:38 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r69554 r69558 1357 1357 reporter.logXcpt("getVirtualBox / API version exception"); 1358 1358 return False; 1359 1360 # HACK ALERT! Keep COM alive past the python garbage collection on in case of dangling objects. @bugref{9037} 1361 # This is a bit of an experiment at the moment... 1362 if self.sHost == 'win': 1363 try: 1364 import pythoncom; # pylint: disable=F0401 1365 pythoncom.CoInitializeEx(0); # pylint: disable=no-member 1366 pythoncom.CoInitializeEx(0); # pylint: disable=no-member 1367 except: 1368 reporter.logXcpt("pythoncom.CoInitializeEx"); 1359 1369 1360 1370 # Done
Note:
See TracChangeset
for help on using the changeset viewer.