VirtualBox

Changeset 88713 in vbox


Ignore:
Timestamp:
Apr 26, 2021 6:10:09 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8161: Runtime UI: Cleanup opened debugger UI early before VBoxDbg module handle is cleaned up.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r88648 r88713  
    12181218    connect(gEDataManager, &UIExtraDataManager::sigVisualStateChange,
    12191219            this, &UIMachineLogic::sltHandleVisualStateChange);
     1220
     1221    /* UICommon connections: */
     1222#ifdef VBOX_WITH_DEBUGGER_GUI
     1223    /* Cleanup debugger before VBoxDbg module handle cleaned up: */
     1224    connect(&uiCommon(), &UICommon::sigAskToCommitData,
     1225            this, &UIMachineLogic::sltCleanupDebugger);
     1226#endif
    12201227}
    12211228
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h

    r84990 r88713  
    356356    void sltHandleVisualStateChange();
    357357
     358#ifdef VBOX_WITH_DEBUGGER_GUI
     359    /** Cleanups debugger. */
     360    void sltCleanupDebugger() { cleanupDebugger(); }
     361#endif
     362
    358363private:
    359364
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