VirtualBox

Changeset 94086 in vbox for trunk


Ignore:
Timestamp:
Mar 4, 2022 1:47:01 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager / Chooser pane: Another place for the same crash in cloud stuff cleanup; Cloud related interactions should be stopped much earlier.

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

Legend:

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

    r94085 r94086  
    756756}
    757757
    758 void UIChooserAbstractModel::sltDetachCOM()
     758void UIChooserAbstractModel::sltCommitData()
    759759{
    760760    /* Finally, stop all cloud updates: */
    761761    stopCloudUpdates(true /* forced? */);
    762 
     762}
     763
     764void UIChooserAbstractModel::sltDetachCOM()
     765{
    763766    /* Delete tree: */
    764767    delete m_pInvisibleRootNode;
     
    987990{
    988991    /* UICommon connections: */
     992    connect(&uiCommon(), &UICommon::sigAskToCommitData,
     993            this, &UIChooserAbstractModel::sltCommitData);
    989994    connect(&uiCommon(), &UICommon::sigAskToDetachCOM,
    990995            this, &UIChooserAbstractModel::sltDetachCOM);
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.h

    r94043 r94086  
    188188        virtual void sltReloadMachine(const QUuid &uMachineId);
    189189
     190        /** Handles command to commit data. */
     191        virtual void sltCommitData();
    190192        /** Handles command to detach COM. */
    191193        virtual void sltDetachCOM();
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