VirtualBox

Changeset 86017 in vbox for trunk/src


Ignore:
Timestamp:
Sep 3, 2020 8:40:47 AM (4 years ago)
Author:
vboxsync
Message:

Runtime/serialport-win.cpp: Fix querying for events under cerain circumstances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/serialport-win.cpp

    r82968 r86017  
    934934                    rc = VINF_SUCCESS;
    935935                else
     936                {
    936937                    rc = RTErrConvertFromWin32(GetLastError());
     938                    pThis->fEvtQueryPending = false;
     939                }
    937940            }
    938941            else
     
    940943        }
    941944
    942         Assert(RT_FAILURE(rc) || pThis->fEvtQueryPending);
    943 
    944945        if (   RT_SUCCESS(rc)
    945             || pThis->fEvtQueryPending)
     946            && pThis->fEvtQueryPending)
    946947            rc = rtSerialPortEvtWaitWorker(pThis, msTimeout);
    947948
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