VirtualBox

Changeset 3013 in vbox for trunk


Ignore:
Timestamp:
Jun 4, 2007 9:48:38 AM (18 years ago)
Author:
vboxsync
Message:

don't assert on normal errors, crashing VBoxSVC is extremely annoying.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostUSBDeviceImpl.cpp

    r3007 r3013  
    670670        /// @todo we will probably want to re-run all filters on failure
    671671        //  instead of asserting
    672         AssertComRC (rc);
     672        /*AssertComRC (rc); - actually we shall not assert on fully legal error coditions because it
     673                              crashes VBoxSVC and upsets everything. Asserts are for preconditions
     674                              violations not for runtime errors like incorrect usbfs permission. */
    673675
    674676        LogFlowThisFunc (("Done machine->onUSBDeviceAttach()=%08X\n", rc));
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