VirtualBox

Changeset 86502 in vbox


Ignore:
Timestamp:
Oct 9, 2020 1:48:47 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140817
Message:

ValKit/vboxwrappers.py: Drop the ISession reference when VBoxSVC closed our direct session for us, we'll end up retry closing it during garbage collection, which is totally pointless. bugref:9841

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r84926 r86502  
    880880                try:    fIgnore = self.o.state == vboxcon.SessionState_Unlocked;
    881881                except: fIgnore = False;
    882                 if not fIgnore:
     882                if fIgnore:
     883                    self.o  = None; # Must prevent a retry during GC.
     884                else:
    883885                    reporter.errorXcpt('ISession::unlockMachine failed on %s' % (self.o));
    884886                    fRc = False;
Note: See TracChangeset for help on using the changeset viewer.

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