VirtualBox

Ignore:
Timestamp:
Jul 8, 2014 11:08:53 AM (10 years ago)
Author:
vboxsync
Message:

VBoxTray/DnD: Assign service context before starting internal thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp

    r51675 r51924  
    15111511    if (RT_SUCCESS(rc))
    15121512    {
     1513        /* Assign service environment to our context. */
     1514        pCtx->pEnv = pEnv;
     1515
    15131516        /* Create the proxy window. At the moment we
    15141517         * only support one window at a time. */
     
    15311534    if (RT_SUCCESS(rc))
    15321535        rc = RTSemEventCreate(&pCtx->hEvtQueueSem);
    1533     if (RT_SUCCESS(rc))
    1534     {
    1535         /* Assign service environment to our context. */
    1536         gCtx.pEnv = pEnv;
    1537     }
    1538 
    15391536    if (RT_SUCCESS(rc))
    15401537    {
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