Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0
-
b48fe3d53af1be7d8d7d0bdc5a2bb4aba7894fdf (qt/qtdeclarative/5.15)
Description
For QQuickView the QOpenGLContextGroup doesn't seem to be deleted always. For example in:
int main(int argc, char *argv[]) { QApplication a(argc, argv); QQuickView w; w.show(); int ret = a.exec(); int nCrtDbgFlag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG); nCrtDbgFlag |= _CRTDBG_LEAK_CHECK_DF; _CrtSetDbgFlag(nCrtDbgFlag); return ret; }
deleteLater would be called on QOpenGLContextGroup but it's after event loop has stopped.
Steps to reproduce the issue:
- Run the attached project
- Close the window
Attachments
For Gerrit Dashboard: QTBUG-86524 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
313300,2 | Move the sharegroup with the context to the render thread | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |