Changeset 90939 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
- Timestamp:
- Aug 27, 2021 8:52:21 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 146577
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r90938 r90939 233 233 /* static */ 234 234 UICommon *UICommon::s_pInstance = 0; 235 bool UICommon::s_fCleaningUp = false;236 235 QString UICommon::s_strLoadedLanguageId = vboxBuiltInLanguageName(); 237 236 QString UICommon::s_strUserDefinedPortName = QString(); … … 268 267 : m_enmType(enmType) 269 268 , m_fValid(false) 269 , m_fCleaningUp(false) 270 270 #ifdef VBOX_WS_WIN 271 271 , m_fDataCommitted(false) … … 848 848 /* Remember that the cleanup is in progress preventing any unwanted 849 849 * stuff which could be called from the other threads: */ 850 s_fCleaningUp = true;850 m_fCleaningUp = true; 851 851 852 852 #ifdef VBOX_WS_WIN … … 3242 3242 AssertReturnVoid(m_fValid); 3243 3243 /* Ignore the request during UICommon cleanup: */ 3244 if ( s_fCleaningUp)3244 if (m_fCleaningUp) 3245 3245 return; 3246 3246 /* Ignore the request during startup snapshot restoring: */ … … 3266 3266 AssertReturnVoid(m_fValid); 3267 3267 /* Ignore the request during UICommon cleanup: */ 3268 if ( s_fCleaningUp)3268 if (m_fCleaningUp) 3269 3269 return; 3270 3270 /* Ignore the request during startup snapshot restoring: */
Note:
See TracChangeset
for help on using the changeset viewer.