VirtualBox

Ignore:
Timestamp:
Dec 14, 2018 6:54:20 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127509
Message:

Main: bugref:6913: don't try to notify changes related to NULL medium objects

File:
1 edited

Legend:

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

    r76238 r76239  
    90879087             * (chain->parent() is source's parent). Depth check above. */
    90889088            pTarget->i_deparent();
    9089             if (task.NotifyAboutChanges())
    9090                 pMediumsForNotify.insert(task.mParentForTarget);
    90919089            pTarget->i_setParent(task.mParentForTarget);
    90929090            if (task.mParentForTarget)
     9091            {
    90939092                i_deparent();
     9093                if (task.NotifyAboutChanges())
     9094                    pMediumsForNotify.insert(task.mParentForTarget);
     9095            }
    90949096
    90959097            /* then, register again */
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