VirtualBox

Changeset 46006 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 13, 2013 9:39:02 AM (12 years ago)
Author:
vboxsync
Message:

Main/VPX: do uninitialization in drvDestruct() rather than in uninit()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r45992 r46006  
    128128    mu32UpdateVBVAFlags = 0;
    129129#endif
    130 
    131130#ifdef VBOX_WITH_VPX
    132131    mpVideoRecCtx = NULL;
     
    531530    mpVMMDev = NULL;
    532531    mfVMMDevInited = true;
    533 
    534 #ifdef VBOX_WITH_VPX
    535     VideoRecContextClose(mpVideoRecCtx);
    536 #endif
    537532}
    538533
     
    42464241    {
    42474242        AutoWriteLock displayLock(pThis->pDisplay COMMA_LOCKVAL_SRC_POS);
     4243#ifdef VBOX_WITH_VPX
     4244        VideoRecContextClose(pThis->pDisplay->mpVideoRecCtx);
     4245#endif
    42484246#ifdef VBOX_WITH_CRHGSMI
    42494247        pThis->pDisplay->destructCrHgsmiData();
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