VirtualBox

Changeset 71647 in vbox for trunk/src


Ignore:
Timestamp:
Apr 4, 2018 10:38:51 AM (7 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Don't check if the session is ready in GuestSession::close(), as the session (already) could be in a stopped / aborted state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r71634 r71647  
    25232523    LogFlowThisFuncEnter();
    25242524
    2525     HRESULT hr = i_isReadyExternal();
    2526     if (FAILED(hr))
    2527         return hr;
     2525    /* Note: Don't check if the session is ready via i_isReadyExternal() here;
     2526     *       the session (already) could be in a stopped / aborted state. */
    25282527
    25292528    /* Close session on guest. */
     
    25422541        rc = rc2;
    25432542
    2544     LogFlowThisFunc(("Returning rc=%Rrc, rcGuest=%Rrc\n",
    2545                      rc, rcGuest));
     2543    LogFlowThisFunc(("Returning rc=%Rrc, rcGuest=%Rrc\n", rc, rcGuest));
     2544
    25462545    if (RT_FAILURE(rc))
    25472546    {
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