VirtualBox

Ignore:
Timestamp:
Oct 17, 2009 7:07:43 PM (15 years ago)
Author:
vboxsync
Message:

Main: Fixed assertion and double error message when cancelling a teleporter waiting for incoming connections.

File:
1 edited

Legend:

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

    r23827 r23841  
    67626762                }
    67636763                else if (task->mTeleporterEnabled)
     6764                {
    67646765                    /* -> ConsoleImplTeleporter.cpp */
    67656766                    vrc = console->teleporterTrg(pVM, pMachine, task->mStartPaused, task->mProgress);
     6767                    if (RT_FAILURE(vrc))
     6768                        rc = E_FAIL;    /* Avoid the "Missing error message..." assertion. */
     6769                }
    67666770                else if (task->mStartPaused)
    67676771                    /* done */
     
    68216825            {
    68226826                /* If the error message is not set but we've got a failure,
    6823                  * convert the VBox status code into a meaningfulerror message.
     6827                 * convert the VBox status code into a meaningful error message.
    68246828                 * This becomes unused once all the sources of errors set the
    68256829                 * appropriate error message themselves.
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