VirtualBox

Ignore:
Timestamp:
Jul 25, 2008 1:34:00 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33714
Message:

vboxClipboardDestroy: Fixed bad assertion on uninitialized variable (rcThread). Added a LogRel on RTThreadWait failure.

File:
1 edited

Legend:

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

    r8951 r10891  
    812812        Assert(RT_SUCCESS(rc) || ((VERR_TIMEOUT == rc) && (count != 5)));
    813813    } while ((VERR_TIMEOUT == rc) && (count < 300));
    814     AssertRC(rcThread);
     814    if (RT_SUCCESS(rc))
     815        AssertRC(rcThread);
     816    else
     817        LogRel(("vboxClipboardDestroy: rc=%Rrc\n", rc));
    815818    XtCloseDisplay(XtDisplay(g_ctx.widget));
    816819    LogFlowFunc(("returning.\n"));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette