Changeset 69632 in vbox for trunk/src/VBox/ValidationKit/testdriver
- Timestamp:
- Nov 9, 2017 4:46:05 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 118993
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r69591 r69632 1345 1345 reporter.logXcpt("getVirtualBox / API version exception"); 1346 1346 return False; 1347 1348 # HACK ALERT! Keep COM alive past the python garbage collection on in case of dangling objects. @bugref{9037}1349 # This is a bit of an experiment at the moment...1350 if self.sHost == 'win' and self.fpApiVer < 5.2:1351 try:1352 import pythoncom; # pylint: disable=import-error1353 pythoncom.CoInitializeEx(0); # pylint: disable=no-member1354 pythoncom.CoInitializeEx(0); # pylint: disable=no-member1355 except:1356 reporter.logXcpt("pythoncom.CoInitializeEx");1357 1347 1358 1348 # Done
Note:
See TracChangeset
for help on using the changeset viewer.