VirtualBox

Ignore:
Timestamp:
May 25, 2019 2:22:39 PM (6 years ago)
Author:
vboxsync
Message:

Main/GuestDnD: Moved up comment about dragons and set pTask to NULL for emphasis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r78093 r78745  
    659659         * so there is no need in the call of delete operator. */
    660660        hr = pTask->createThreadWithType(RTTHREADTYPE_MAIN_WORKER);
    661 
     661        pTask = NULL; /* Note: pTask is now owned by the worker thread. */
    662662    }
    663663    catch (std::bad_alloc &)
     
    677677        hr = pResp->queryProgressTo(aProgress.asOutParam());
    678678        ComAssertComRC(hr);
    679 
    680         /* Note: pTask is now owned by the worker thread. */
    681679    }
    682680    else
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