Fix crash when tab is closed after a per-domain forced reload
This commit is contained in:
parent
fc19262eaa
commit
da0a6305df
@ -979,6 +979,9 @@ class WebEngineTab(browsertab.AbstractTab):
|
|||||||
url: The QUrl to open.
|
url: The QUrl to open.
|
||||||
predict: If set to False, predicted_navigation is not emitted.
|
predict: If set to False, predicted_navigation is not emitted.
|
||||||
"""
|
"""
|
||||||
|
if sip.isdeleted(self._widget):
|
||||||
|
# https://github.com/qutebrowser/qutebrowser/issues/3896
|
||||||
|
return
|
||||||
self._saved_zoom = self.zoom.factor()
|
self._saved_zoom = self.zoom.factor()
|
||||||
self._openurl_prepare(url, predict=predict)
|
self._openurl_prepare(url, predict=predict)
|
||||||
self._widget.load(url)
|
self._widget.load(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user