VirtualBox

Changeset 75952 in vbox


Ignore:
Timestamp:
Dec 4, 2018 5:48:36 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6699. Close the guest session as file manager goes away

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlFileManager.cpp

    r75950 r75952  
    6262#endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
    6363
    64 #define TEST_COPY
    6564
    6665/*********************************************************************************************************************************
     
    163162    if (m_comGuestSession.isOk() && m_pQtSessionListener && m_comSessionListener.isOk())
    164163        cleanupListener(m_pQtSessionListener, m_comSessionListener, m_comGuestSession.GetEventSource());
     164
     165    if (m_comGuestSession.isOk())
     166        m_comGuestSession.Close();
     167
    165168    saveOptions();
    166169    UIGuestControlFileManagerOptions::destroy();
     
    593596    if (m_pVerticalToolBar)
    594597        m_pVerticalToolBar->setEnabled(false);
    595 
    596 }
    597 
     598}
    598599
    599600bool UIGuestControlFileManager::createSession(const QString& strUserName, const QString& strPassword,
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