VirtualBox

Changeset 64755 in vbox


Ignore:
Timestamp:
Nov 25, 2016 4:00:23 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8671: Runtime UI: A bit of care and paranoia for the nearest code as well (s.a. r112091).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.cpp

    r64754 r64755  
    156156            m_pMachineLogic->cleanup();
    157157            UIMachineLogic::destroy(m_pMachineLogic);
     158            m_pMachineLogic = 0;
    158159        }
    159160
     
    278279
    279280    /* Destroy machine-logic if exists: */
    280     if (machineLogic())
     281    if (m_pMachineLogic)
    281282    {
    282283        m_pMachineLogic->cleanup();
    283284        UIMachineLogic::destroy(m_pMachineLogic);
     285        m_pMachineLogic = 0;
    284286    }
    285287}
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