Fix possible crash in QSGContext::invalidate()
authorYoann Lopes <yoann.lopes@nokia.com>
Mon, 19 Mar 2012 13:55:12 +0000 (14:55 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Mar 2012 16:08:42 +0000 (17:08 +0100)
commit590194331e3f8e2c6d8fd001ee36cf0ce7f55b3e
tree5e44aea33acb3bd82ac62eac67e339279fe48ec5
parent3a3515b5a7f5d41fe79a53f162b69f58aca9731d
Fix possible crash in QSGContext::invalidate()

In some cases QSGContext::invalidate() was called without any current
GL context when the render thread was terminated.

Change-Id: Ia5295c89fe13f2473115c736e328e386d6d4d183
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/quick/items/qquickwindowmanager.cpp