Changeset 88664 in vbox
- Timestamp:
- Apr 22, 2021 6:34:11 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r88657 r88664 4577 4577 LogRel(("GUI: UICommon: Handling aboutToQuit request..\n")); 4578 4578 4579 /// @todo Shouldn't that be protected with a mutex or something? 4580 /* Remember that the cleanup is in progress preventing any unwanted 4581 * stuff which could be called from the other threads: */ 4582 s_fCleaningUp = true; 4583 4579 4584 #ifdef VBOX_WS_WIN 4580 4585 /* Ask listeners to commit data if haven't yet: */ … … 4588 4593 emit sigAskToCommitData(); 4589 4594 #endif 4590 4591 /// @todo Shouldn't that be protected with a mutex or something?4592 /* Remember that the cleanup is in progress preventing any unwanted4593 * stuff which could be called from the other threads: */4594 s_fCleaningUp = true;4595 4595 4596 4596 #ifdef VBOX_WITH_DEBUGGER_GUI -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIStarter.cpp
r88657 r88664 167 167 168 168 #ifdef VBOX_RUNTIME_UI 169 gpMachine->uisession()->saveState(); 169 /* Only for the case when we have this request 170 * earlier than the usual cleanup started: */ 171 if (!UICommon::isCleaningUp()) 172 gpMachine->uisession()->saveState(); 170 173 #endif 171 174 }
Note:
See TracChangeset
for help on using the changeset viewer.