VirtualBox

Changeset 55451 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Apr 27, 2015 1:34:49 PM (10 years ago)
Author:
vboxsync
Message:

Main/glue: fix a buglet (don't know how it gets triggered) in the com::Shutdown code path for non-main threads on XPCOM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/initterm.cpp

    r50117 r55451  
    326326    /* this is the first initialization */
    327327    gXPCOMInitCount = 1;
    328     bool const fInitEventQueues = true;
    329328
    330329    /* prepare paths for registry files */
     
    559558        else
    560559        {
    561             isOnMainThread = PR_TRUE;
     560            isOnMainThread = RTThreadIsMain(RTThreadSelf());
    562561            rc = NS_OK;
    563562        }
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