diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-10 05:24:55 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-10 05:30:10 (GMT) |
commit | 5f24d8930838f0d3cb622f9937a171eb6734df1a (patch) | |
tree | cb59bbd84229cb5d52f4d138566a90d458d2d432 /doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp | |
parent | 66dc9221163a6b225cdfa351b8df7a01f6ce7bf0 (diff) | |
download | Qt-5f24d8930838f0d3cb622f9937a171eb6734df1a.zip Qt-5f24d8930838f0d3cb622f9937a171eb6734df1a.tar.gz Qt-5f24d8930838f0d3cb622f9937a171eb6734df1a.tar.bz2 |
Fixed crash on shutdown with GL when leaking QGLWidgets
The problem was the QGLContextResource destructor which was called
when the QtOpenGL dll was unloaded. At this point in time, the gl
driver had already been unloaded so any gl calls at this point in time
would crash. It is simply wrong for the destructor to try to clean up,
so we instead output a warning if resources are leaked.
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp')
0 files changed, 0 insertions, 0 deletions