Changeset 97788 in vbox for trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
- Timestamp:
- Dec 12, 2022 6:36:50 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r97784 r97788 107 107 return; 108 108 109 int vrc = pThis->i_sendData(mpCtx, RT_INDEFINITE_WAIT /* msTimeout */); 110 if (RT_FAILURE(vrc)) /* In case we missed some error handling within i_sendData(). */ 111 { 112 if (vrc != VERR_CANCELLED) 113 LogRel(("DnD: Sending data to guest failed with %Rrc\n", vrc)); 114 115 /* Make sure to fire a cancel request to the guest side in case something went wrong. */ 116 pThis->sendCancel(); 117 } 109 /* ignore rc */ pThis->i_sendData(mpCtx, RT_INDEFINITE_WAIT /* msTimeout */); 118 110 } 119 111 … … 720 712 return setError(E_FAIL, tr("Current drop operation to guest still in progress")); 721 713 722 /* Reset our internal state. */723 i_reset();724 725 714 /* At the moment we only support one transfer at a time. */ 726 715 if (GuestDnDInst()->getTargetCount()) … … 878 867 void GuestDnDTarget::i_reset(void) 879 868 { 880 Log FlowThisFunc(("\n"));869 LogRel2(("DnD: Target reset\n")); 881 870 882 871 mData.mSendCtx.reset();
Note:
See TracChangeset
for help on using the changeset viewer.