VirtualBox

Ignore:
Timestamp:
Aug 27, 2021 8:52:21 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146577
Message:

FE/Qt: bugref:10067: UICommon: A bit of rework for s_fCleaningUp stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp

    r90938 r90939  
    233233/* static */
    234234UICommon *UICommon::s_pInstance = 0;
    235 bool      UICommon::s_fCleaningUp = false;
    236235QString   UICommon::s_strLoadedLanguageId = vboxBuiltInLanguageName();
    237236QString   UICommon::s_strUserDefinedPortName = QString();
     
    268267    : m_enmType(enmType)
    269268    , m_fValid(false)
     269    , m_fCleaningUp(false)
    270270#ifdef VBOX_WS_WIN
    271271    , m_fDataCommitted(false)
     
    848848    /* Remember that the cleanup is in progress preventing any unwanted
    849849     * stuff which could be called from the other threads: */
    850     s_fCleaningUp = true;
     850    m_fCleaningUp = true;
    851851
    852852#ifdef VBOX_WS_WIN
     
    32423242    AssertReturnVoid(m_fValid);
    32433243    /* Ignore the request during UICommon cleanup: */
    3244     if (s_fCleaningUp)
     3244    if (m_fCleaningUp)
    32453245        return;
    32463246    /* Ignore the request during startup snapshot restoring: */
     
    32663266    AssertReturnVoid(m_fValid);
    32673267    /* Ignore the request during UICommon cleanup: */
    3268     if (s_fCleaningUp)
     3268    if (m_fCleaningUp)
    32693269        return;
    32703270    /* Ignore the request during startup snapshot restoring: */
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