VirtualBox

Changeset 28795 in vbox for trunk/src


Ignore:
Timestamp:
Apr 27, 2010 7:36:47 AM (15 years ago)
Author:
vboxsync
Message:

Console::powerDown: Must set mVMDestroying whether there are any VM callers or not.

File:
1 edited

Legend:

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

    r28766 r28795  
    51575157     * ---------------------------------------------------------------------- */
    51585158
     5159    /* go to the destroying state to prevent from adding new callers */
     5160    mVMDestroying = true;
     5161
    51595162    if (mVMCallers > 0)
    51605163    {
    5161         /* go to the destroying state to prevent from adding new callers */
    5162         mVMDestroying = true;
    5163 
    51645164        /* lazy creation */
    51655165        if (mVMZeroCallersSem == NIL_RTSEMEVENT)
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