Fix :restart with private browsing mode
This commit is contained in:
parent
a572b0f34d
commit
0de0bbfa71
@ -49,6 +49,7 @@ Fixes
|
|||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
- Fixed empty space being shown after tabs in the tabbar in some cases.
|
- Fixed empty space being shown after tabs in the tabbar in some cases.
|
||||||
|
- Fixed `:restart` in private browsing mode.
|
||||||
|
|
||||||
v0.11.0
|
v0.11.0
|
||||||
-------
|
-------
|
||||||
|
@ -634,7 +634,7 @@ class Quitter:
|
|||||||
# Save the session if one is given.
|
# Save the session if one is given.
|
||||||
if session is not None:
|
if session is not None:
|
||||||
session_manager = objreg.get('session-manager')
|
session_manager = objreg.get('session-manager')
|
||||||
session_manager.save(session)
|
session_manager.save(session, with_private=True)
|
||||||
# Open a new process and immediately shutdown the existing one
|
# Open a new process and immediately shutdown the existing one
|
||||||
try:
|
try:
|
||||||
args, cwd = self._get_restart_args(pages, session)
|
args, cwd = self._get_restart_args(pages, session)
|
||||||
|
Loading…
Reference in New Issue
Block a user