VirtualBox

Changeset 102643 in vbox for trunk/src/libs/xpcom18a4/xpcom


Ignore:
Timestamp:
Dec 19, 2023 3:22:34 PM (14 months ago)
Author:
vboxsync
Message:

libs/xpcom: Call Unload() in the nsDll destructor to prevent memory leaks on shutdown. We don't want to enable this for release builds (yet), as this needs more testing and/or debugging first. Also needs VBOX_WITH_GCC_SANITIZER enabled. bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/components/xcDll.cpp

    r102642 r102643  
    8787    // - static dtors
    8888    // Hence turn it back on after all the above have been removed.
    89 #if defined(DEBUG) && defined(IPRT_WITH_GCC_SANITIZER)
     89#if defined(DEBUG) && defined(VBOX_WITH_GCC_SANITIZER)
    9090    /* Although this looks like it's what we should be doing here, we don't want to enable this for release builds (yet).
    9191     * Needs more testing and/or debugging first. See @bugref{10545c6}. */
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