diff options
author | Yohan Chuzeville <ychuzevi@cisco.com> | 2015-04-13 11:24:33 +0200 |
---|---|---|
committer | Yohan Chuzeville <ychuzevi@cisco.com> | 2015-04-13 10:05:35 +0000 |
commit | 738ad7e37c66f2afdbc7a77aff3ab7fa510361a2 (patch) | |
tree | bf9900f7ab5637692582696670ae0c6e8a6efc9c /Source/JavaScriptCore/runtime/BasicBlockLocation.cpp | |
parent | b653da9a88901fbc44114cac9232a6a332d2d0a7 (diff) | |
download | qtwebkit-738ad7e37c66f2afdbc7a77aff3ab7fa510361a2.tar.gz |
Fix crash when exiting browser with WebGL or accelerated canvas.
Issue is that the TextureMapperGL creates a GraphicsContext3D using
the current OpenGL context. This is done by storing a reference on
QOpenGLContext::currentContext() inside
GraphicsContext3DPrivate::GraphicsContext3DPrivate(). When exiting the
browser, Qt releases QOpenGLContext before the release of the
GraphicsContext3D in webkit which leads to a crash when destoying
GraphicsContext3DPrivate.
Task-number: QTBUG-45481
Change-Id: I2b9d7b1a96fbbe8517ea323d45ef3922ada208a3
Reviewed-by: Julien Brianceau <jbriance@cisco.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'Source/JavaScriptCore/runtime/BasicBlockLocation.cpp')
0 files changed, 0 insertions, 0 deletions