VirtualBox

Changeset 50445 in vbox


Ignore:
Timestamp:
Feb 13, 2014 1:34:34 PM (11 years ago)
Author:
vboxsync
Message:

Frontends/VirtualBox: remove bogus assertion, the handling as such was OK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumEnumerator.cpp

    r49661 r50445  
    431431    /* Search for corresponding machine: */
    432432    CMachine machine = vboxGlobal().virtualBox().FindMachine(strMachineID);
    433     AssertReturnVoid(!machine.isNull());
     433    if (machine.isNull())
     434    {
     435        /* Usually means the machine is already gone, not harmful. */
     436        return;
     437    }
    434438
    435439    /* Calculate actual usage starting from root-snapshot if necessary: */
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