VirtualBox

Changeset 104235 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
Apr 8, 2024 5:50:13 PM (8 months ago)
Author:
vboxsync
Message:

macOS: Shared Clipboard: Prevent assertion on each guest -> host clipboard operation, bugref:9437.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp

    r103630 r104235  
    14611461
    14621462    PSHCLEVENT pEvent = ShClEventSourceGetFromId(&pClient->EventSrc, idEvent);
     1463#if defined(RT_OS_DARWIN)
     1464    /* We do not wait for guest clipboard availability event on macOS. Rather,
     1465     * we paste directly into pasteboard when guest sends its clipboard data.
     1466     * Do not assert here. */
     1467    if (!RT_VALID_PTR(pEvent))
     1468        return VINF_SUCCESS;
     1469#endif
     1470
    14631471    AssertMsgReturn(pEvent != NULL, ("Event %#x not found\n", idEvent), VERR_NOT_FOUND);
    14641472
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