summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_settings.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-08-17 16:18:43 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-08-23 11:35:19 +0000
commit7bc32104660dd9b5dfa9920a288797a7c2790559 (patch)
tree832fe410db0ec6eef8c0fb8263124a09325190e2 /src/core/web_engine_settings.cpp
parentcf7d82a79dff4ea5c53e0908ed5c13ce1f87796d (diff)
Ensure WebEngineContext::destroy() is called before the destructor
Add a false reference only removed after destroy() is called, so the tearing down of static objects won't dereference it before the QApplication is destroyed and the post routines including destroy() are called. Also adds a little safety by asserting destroy() has been called before ~WebEngineContext() and make sure we don't create a new WebEngineContext() during shut down. Task-number: QTBUG-54769 Change-Id: I2b1d189f9ebd8da2dc9f322f9bb307a5aa0c6a2f Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/web_engine_settings.cpp')
0 files changed, 0 insertions, 0 deletions