VirtualBox

Changeset 76815 in vbox for trunk


Ignore:
Timestamp:
Jan 14, 2019 1:36:28 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128159
Message:

FE/Qt: bugref:9241: It appeeared r128098 and r128099 isn't enought to protect r128104 from App shutdown crash.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/manager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp

    r76776 r76815  
    14891489}
    14901490
     1491void UIVirtualBoxManager::cleanupConnections()
     1492{
     1493    /* Honestly we should disconnect everything here,
     1494     * but for now it's enough to disconnect the most critical. */
     1495    m_pWidget->disconnect(this);
     1496}
     1497
    14911498void UIVirtualBoxManager::cleanupWidgets()
    14921499{
     
    15201527
    15211528    /* Cleanup: */
     1529    cleanupConnections();
    15221530    cleanupWidgets();
    15231531    cleanupMenuBar();
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h

    r76776 r76815  
    266266        /** Saves settings. */
    267267        void saveSettings();
     268        /** Cleanups connections. */
     269        void cleanupConnections();
    268270        /** Cleanups widgets. */
    269271        void cleanupWidgets();
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