summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptvalueiterator.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-09-10 05:24:55 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-09-10 05:30:10 (GMT)
commit5f24d8930838f0d3cb622f9937a171eb6734df1a (patch)
treecb59bbd84229cb5d52f4d138566a90d458d2d432 /doc/src/snippets/code/src_script_qscriptvalueiterator.cpp
parent66dc9221163a6b225cdfa351b8df7a01f6ce7bf0 (diff)
downloadQt-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_script_qscriptvalueiterator.cpp')
0 files changed, 0 insertions, 0 deletions