- Timestamp:
- Dec 8, 2019 12:26:36 AM (5 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp
r82477 r82498 258 258 static void shclEventPayloadDetachInternal(PSHCLEVENT pEvent) 259 259 { 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. */ 260 263 AssertPtrReturnVoid(pEvent); 261 264 … … 426 429 void ShClEventPayloadDetach(PSHCLEVENTSOURCE pSource, SHCLEVENTID uID) 427 430 { 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 428 435 AssertPtrReturnVoid(pSource); 429 436 -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-win.cpp
r82480 r82498 197 197 /* Detach the payload, as the caller then will own the data. */ 198 198 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 */ 199 204 } 200 205
Note:
See TracChangeset
for help on using the changeset viewer.