Changeset 48907 in vbox
- Timestamp:
- Oct 5, 2013 10:59:26 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r48906 r48907 4368 4368 UIExtraDataEventHandler::destroy(); 4369 4369 4370 /* Destroy the GUI root windows _BEFORE_ the media-mess, because there is 4371 code in the GUI that's using the media code an will be racing us! */ 4372 if (mSelectorWnd) 4373 { 4374 delete mSelectorWnd; 4375 mSelectorWnd = NULL; 4376 } 4377 4378 if (m_pVirtualMachine) 4379 { 4380 delete m_pVirtualMachine; 4381 m_pVirtualMachine = NULL; 4382 } 4383 4370 4384 /* Cleanup medium-enumerator: */ 4371 4385 m_mediumEnumeratorDtorRwLock.lockForWrite(); … … 4374 4388 m_mediumEnumeratorDtorRwLock.unlock(); 4375 4389 4376 if (mSelectorWnd) 4377 delete mSelectorWnd; 4378 if (m_pVirtualMachine) 4379 delete m_pVirtualMachine; 4380 4390 /* Destroy whatever this converter stuff is: */ 4381 4391 UIConverter::cleanup(); 4382 4392 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElements.cpp
r48906 r48907 1 1 /* $Id$ */ 2 2 /** @file 3 * 4 * VBox frontends: Qt GUI ("VirtualBox"): 5 * UIGDetailsDetails class implementation 3 * VBox Qt GUI - UIGDetailsDetails class implementation. 6 4 */ 7 5 … … 62 60 UIGDetailsElementInterface::~UIGDetailsElementInterface() 63 61 { 64 /* VBoxGlobal must still be valid at this point, otherwise our thread might65 be doing really bad things to already deleted memory! */66 Assert(vboxGlobal().isValid());67 Assert(!vboxGlobal().isCleaningUp());68 69 62 cleanupThread(); 70 63 }
Note:
See TracChangeset
for help on using the changeset viewer.