VirtualBox

Changeset 84493 in vbox


Ignore:
Timestamp:
May 25, 2020 11:08:45 AM (5 years ago)
Author:
vboxsync
Message:

VMM/PDM: Deregister the DBGF event source when destroying a device

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDM.cpp

    r84459 r84493  
    838838        }
    839839
     840#ifdef VBOX_WITH_DBGF_TRACING
     841        if (pDevIns->Internal.s.hDbgfTraceEvtSrc != NIL_DBGFTRACEREVTSRC)
     842        {
     843            DBGFR3TracerDeregisterEvtSrc(pVM, pDevIns->Internal.s.hDbgfTraceEvtSrc);
     844            pDevIns->Internal.s.hDbgfTraceEvtSrc = NIL_DBGFTRACEREVTSRC;
     845        }
     846#endif
     847
    840848        TMR3TimerDestroyDevice(pVM, pDevIns);
    841849        SSMR3DeregisterDevice(pVM, pDevIns, NULL, 0);
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