Changeset 99446 in vbox
- Timestamp:
- Apr 18, 2023 3:05:28 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156907
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r98642 r99446 2369 2369 2370 2370 /* Delete message-box: */ 2371 #if 1 /* With a debug Qt 5.15.2 (r175) build and paged heap on windows, the ~QPointer destructor will trigger heap corruption 2372 (VERIFIER STOP 0000000000000010: pid 0x253C: corrupted start stamp). Clearing the QPointer prior to deletion works 2373 around the issue (calling clear() after delete just triggers the problem a few lines earlier). */ 2374 QIMessageBox *pSafe = pMessageBox; 2375 pMessageBox.clear(); 2376 if (pSafe) 2377 delete pSafe; 2378 #else 2371 2379 delete pMessageBox; 2380 #endif 2372 2381 2373 2382 /* Return result-code: */
Note:
See TracChangeset
for help on using the changeset viewer.