VirtualBox

Changeset 59818 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Feb 25, 2016 6:09:31 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:7127: Medium-enumeration improvements: Annoying assertion replaced with the LogRel2.

File:
1 edited

Legend:

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

    r58866 r59818  
    280280
    281281    /* Make sure such UIMedium still exists: */
    282     AssertReturnVoid(m_mediums.contains(strUIMediumKey));
     282    if (!m_mediums.contains(strUIMediumKey))
     283    {
     284        LogRel2(("GUI: UIMediumEnumerator: Medium with key={%s} already deleted by a third party\n", strUIMediumKey.toUtf8().constData()));
     285        return;
     286    }
    283287
    284288    /* Check if UIMedium ID was changed: */
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