VirtualBox

Ignore:
Timestamp:
May 20, 2015 7:36:05 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100493
Message:

FE/Qt: 7848: Fixing hang reason: UIMedium deleted during the enumeration will have 'null UUID' instead of 'null-string UUID'.

File:
1 edited

Legend:

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

    r55544 r55984  
    297297    /* Check if UIMedium ID was changed: */
    298298    const QString strUIMediumID = uimedium.id();
    299     /* UIMedium ID was changed to null string: */
    300     if (strUIMediumID.isNull())
     299    /* UIMedium ID was changed to nullID: */
     300    if (strUIMediumID == UIMedium::nullID())
    301301    {
    302302        /* Delete this medium: */
    303303        m_mediums.remove(strUIMediumKey);
    304304        LogRel(("UIMediumEnumerator: Medium with key={%s} closed and deleted (after enumeration).\n", strUIMediumKey.toAscii().constData()));
     305
    305306        /* And notify listener about delete: */
    306307        emit sigMediumDeleted(strUIMediumKey);
Note: See TracChangeset for help on using the changeset viewer.

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