VirtualBox

Changeset 43186 in vbox


Ignore:
Timestamp:
Sep 5, 2012 9:01:42 AM (12 years ago)
Author:
vboxsync
Message:

Main/VirtualBox: fix crash in rare circumstances (only saw it with a severely corrupted inaccessible VM) on VM unregistration or on VBoxSVC termination

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r43063 r43186  
    45894589        {
    45904590            AutoCaller autoCaller(pMachine);
    4591             if (FAILED(autoCaller.rc())) continue;
     4591            if (FAILED(autoCaller.rc()))
     4592                continue;
     4593            /* object is already dead, no point in saving settings */
     4594            if (autoCaller.state() != Ready)
     4595                continue;
    45924596            AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS);
    45934597            rc = pMachine->saveSettings(&fNeedsGlobalSettings,
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