VirtualBox

Changeset 13857 in vbox


Ignore:
Timestamp:
Nov 5, 2008 1:37:32 PM (16 years ago)
Author:
vboxsync
Message:

Main: Fixed: VirtualBoxBaseWithChildrenNEXT::uninitDependentChildren() must work in InInit too (r38669 regression).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/VirtualBoxBase.cpp

    r13729 r13857  
    10991099     * use the AutoCaller class of course). InUinint is also used as a flag
    11001100     * by removeDependentChild() that prevents touching mDependentChildren
    1101      * from outside. Therefore, we assert.
     1101     * from outside. Therefore, we assert. Note that InInit is also fine since
     1102     * no any object may access us by that time.
    11021103     */
    1103     AssertReturnVoid (autoCaller.state() == InUninit);
     1104    AssertReturnVoid (autoCaller.state() == InUninit ||
     1105                      autoCaller.state() == InInit);
    11041106
    11051107    if (mDependentChildren.size())
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