diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-11-24 14:18:28 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-11-24 15:43:45 +0000 |
commit | c1ae43bbf402ffd4c39218471508ed8477e66254 (patch) | |
tree | 7bdd46e946edc30d612b8d82422e40ad518b1603 /tools/buildscripts/qtwebengine_utils.py | |
parent | 5a8bae70bb6caf01c262ed3a607c736ea72561b9 (diff) | |
download | qtwebengine-c1ae43bbf402ffd4c39218471508ed8477e66254.tar.gz |
fix crash on WebEngineNewViewRequest.openIn
When calling WebEngineNewViewRequest.openIn with the WebEngineView
that initiated the request, QQuickWebEngineViewPrivate::adoptWebContents
would destroy the current WebContentsAdapter object.
But this WebContentsAdapter implicitly holds the RenderHostViewImpl of
the current call stack. Accesses to it after adoptWebContents is finished
will crash.
Fix the crash by deferred deletion of the current WebContentsAdapter.
Task-number: QTBUG-47601
Change-Id: I3c229172511b4aed77632a0abefbe0265ebf1557
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'tools/buildscripts/qtwebengine_utils.py')
0 files changed, 0 insertions, 0 deletions