qutebrowser/doc
Florian Bruhin 8173a48b8a Don't access stale settings object after hinting
When QtWebEngine shuts down, it calls pending callbacks, which means we access
an invalid 'settings' object when that happens. The stack would look something
like this:

0  QtWebEngineCore::WebEngineSettings::setAttribute(QtWebEngineCore::WebEngineSettings::Attribute, bool)
12 QtWebEngineCore::CallbackDirectory::invokeEmptyInternal<QVariant const&>(QtWebEnginePrivate::QWebEngineCallbackPrivateBase<QVariant const&>*)
14 QtWebEngineCore::CallbackDirectory::~CallbackDirectory()
19 QWebEnginePage::~QWebEnginePage()

If we instead get the settings from the view freshly, we get a RuntimeError from
PyQt telling us that it's dead. Not sure why it doesn't know about settings
being dead...

With that, we'd get a RuntimeError, which we can simply ignore as it doesn't
matter anyways if the tab is gone.

Fixes #3399
2017-12-14 22:56:44 +01:00
..
help Remove long deprecated :download invocation 2017-12-14 09:06:46 +01:00
img Update cheatsheet 2017-10-28 17:35:35 +02:00
backers.asciidoc Add Anonymous to backers file 2017-10-23 08:58:24 +02:00
changelog.asciidoc Don't access stale settings object after hinting 2017-12-14 22:56:44 +01:00
contributing.asciidoc Update tox environment list in contributing docs 2017-11-21 09:24:43 +01:00
faq.asciidoc Update FAQ entry for WebKitGTK projects 2017-11-08 16:44:46 +01:00
install.asciidoc Update Debian install instructions 2017-12-14 08:59:54 +01:00
quickstart.asciidoc Use https:// links for qutebrowser.org 2017-11-14 10:43:05 +01:00
qutebrowser.1.asciidoc Remove QtWebKit reference from manpage 2017-10-12 09:14:51 +02:00
stacktrace.asciidoc Use https:// links for qutebrowser.org 2017-11-14 10:43:05 +01:00
userscripts.asciidoc Update/clarify some docs 2017-10-24 22:39:41 +02:00