VirtualBox

Ignore:
Timestamp:
Oct 13, 2014 5:29:07 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI rework/cleanup for 7115 (part #18): Machine-view: Fixing one of assertions on machine power-off.

File:
1 edited

Legend:

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

    r52902 r53048  
    548548     * Note: VBOX_WITH_CROGL additionally requires us to call DetachFramebuffer
    549549     * to ensure 3D gets notified of view being destroyed... */
    550     CDisplay display = session().GetConsole().GetDisplay();
    551     if (!display.isNull())
     550    CDisplay display = machineLogic()->console().GetDisplay();
     551    if (machineLogic()->console().isOk() && !display.isNull())
    552552        display.DetachFramebuffer(m_uScreenId);
    553553
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