VirtualBox

Changeset 102103 in vbox


Ignore:
Timestamp:
Nov 15, 2023 1:44:48 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160224
Message:

libs/xpcom: Make sure IPRT is initialized when NS_InitXPCOM2() is called, fixes some testcase failures, bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/build/nsXPComInit.cpp

    r102016 r102103  
    3636 * ***** END LICENSE BLOCK ***** */
    3737
     38#include <iprt/initterm.h>
     39
    3840#include "nsXPCOM.h"
    3941#include "nsXPCOMPrivate.h"
     
    471473    nsresult rv = NS_OK;
    472474
     475    /* Make sure IPRT is initialized. */
     476    RTR3InitDll(RTR3INIT_FLAGS_UNOBTRUSIVE);
     477
    473478     // We are not shutting down
    474479    gXPCOMShuttingDown = PR_FALSE;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette