Add temporary fix for test_caret.py flakiness
Fixes #4311 Conflicts with #4087, we might be able to revert this for that PR.
This commit is contained in:
parent
9019bf790b
commit
5ce1229ee5
@ -917,7 +917,12 @@ class AbstractTab(QWidget):
|
||||
# https://github.com/qutebrowser/qutebrowser/issues/3498
|
||||
return
|
||||
|
||||
sess_manager = objreg.get('session-manager')
|
||||
try:
|
||||
sess_manager = objreg.get('session-manager')
|
||||
except KeyError:
|
||||
# https://github.com/qutebrowser/qutebrowser/issues/4311
|
||||
return
|
||||
|
||||
sess_manager.save_autosave()
|
||||
|
||||
if ok and not self._has_ssl_errors:
|
||||
|
Loading…
Reference in New Issue
Block a user