diff --git a/qutebrowser/app.py b/qutebrowser/app.py index da0d3cd55..ca0df1605 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -726,7 +726,7 @@ class Quitter: # Now we can hopefully quit without segfaults log.destroy.debug("Deferring QApplication::exit...") objreg.get('signal-handler').deactivate() - objreg.get('session-manager').session_delete('_autosave', force=True) + objreg.get('session-manager').delete('_autosave') # We use a singleshot timer to exit here to minimize the likelihood of # segfaults. QTimer.singleShot(0, functools.partial(qApp.exit, status)) diff --git a/qutebrowser/browser/browsertab.py b/qutebrowser/browser/browsertab.py index dc88efefc..58d210e01 100644 --- a/qutebrowser/browser/browsertab.py +++ b/qutebrowser/browser/browsertab.py @@ -686,7 +686,7 @@ class AbstractTab(QWidget): @pyqtSlot(bool) def _on_load_finished(self, ok): sess_manager = objreg.get('session-manager') - sess_manager.session_save('_autosave', quiet=True, force=True) + sess_manager.save('_autosave') if ok and not self._has_ssl_errors: if self.url().scheme() == 'https': self._set_load_status(usertypes.LoadStatus.success_https)