VirtualBox

Changeset 95824 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 25, 2022 4:09:58 PM (3 years ago)
Author:
vboxsync
Message:

DnD/VBoxTray: Check the DnD data object state when calling Abort(). bugref:10267

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDataObject.cpp

    r95734 r95824  
    486486{
    487487    LogFlowFunc(("Aborting ...\n"));
    488     m_enmStatus = Status_Aborted;
    489     return RTSemEventSignal(m_EvtDropped);
     488    if (m_enmStatus == Status_Dropping)
     489    {
     490        m_enmStatus = Status_Aborted;
     491        return RTSemEventSignal(m_EvtDropped);
     492    }
     493
     494    return VINF_SUCCESS;
    490495}
    491496
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