main: Simplify the session restoration logic.
Bail out earlier instead of nesting if checks and testing |window|'s value in different places.
parent
42e4d9cd
Please register or sign in to comment
Bail out earlier instead of nesting if checks and testing |window|'s value in different places.