VirtualBox

Changeset 56939 in vbox for trunk


Ignore:
Timestamp:
Jul 15, 2015 11:31:35 AM (9 years ago)
Author:
vboxsync
Message:

Host 3D: force notify Render SPU about parent window ID change in order to prevent crashes when it tries to access already deallocated parent window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/display_window.cpp

    r54834 r56939  
    257257    int rc = VINF_SUCCESS;
    258258
    259     if (isActive() && mpWindow)
     259    /* Force notify Render SPU about parent window ID change in order to prevent
     260     * crashes when it tries to access already deallocated parent window.
     261     * Previously, we also used isActive() here, however it might become FALSE for the case
     262     * when VM Window goes fullscreen mode and back. */
     263    if ( /* isActive() && */ mpWindow)
    260264    {
    261265        rc = mpWindow->Reparent(parentId);
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