VirtualBox

Changeset 82498 in vbox for trunk/src


Ignore:
Timestamp:
Dec 8, 2019 12:26:36 AM (5 years ago)
Author:
vboxsync
Message:

todos. bugref:9437

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp

    r82477 r82498  
    258258static void shclEventPayloadDetachInternal(PSHCLEVENT pEvent)
    259259{
     260    /** @todo r=bird: This should return pPayload.  It should also not need
     261     *        assert the validity of pEvent in non-strict builds, given that this
     262     *        is an static + internal function, that's a complete waste of time. */
    260263    AssertPtrReturnVoid(pEvent);
    261264
     
    426429void ShClEventPayloadDetach(PSHCLEVENTSOURCE pSource, SHCLEVENTID uID)
    427430{
     431    /** @todo r=bird: This API is not needed, it either is a no-op as it
     432     *        replicates work done by ShClEventWait or it leaks the payload as
     433     *        ShClEventWait is the only way to get it as far as I can tell. */
     434
    428435    AssertPtrReturnVoid(pSource);
    429436
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-win.cpp

    r82480 r82498  
    197197            /* Detach the payload, as the caller then will own the data. */
    198198            ShClEventPayloadDetach(&pCtx->pClient->Events, uEvent);
     199            /**
     200             * @todo r=bird: The payload has already been detached,
     201             * ShClEventPayloadDetach and ShClEventWait does the exact same
     202             * thing, except for the extra waiting in the latter.
     203             */
    199204        }
    200205
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