Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Fixes #3620 Fixes #3634 Fix private session restore crash #3629

Merged
merged 1 commit into from
Jul 6, 2020

Conversation

keianhzo
Copy link
Contributor

@keianhzo keianhzo commented Jul 6, 2020

Fixes #3620 Fixes #3634 We were setting the Session State and Uri to null in the restore method just for handling default page loading in shouldLoadDefaultPage but now in restore we consider a null Session State as a new session creation and we notify to the BrowserStore in hat case so we were trying to add a new session to the BrowserStore but the session hasn't been removed from the store which triggered the BrowserStore crash as it requires unique session ids.

@keianhzo keianhzo self-assigned this Jul 6, 2020
@keianhzo keianhzo requested a review from bluemarvin July 6, 2020 13:19
@keianhzo keianhzo added the Uplift PR that needs to be uplifted. label Jul 6, 2020
@keianhzo keianhzo changed the title Fixes #3620 Fix private session restore crash Fixes #3620 Fixes #3634 Fix private session restore crash Jul 6, 2020
@bluemarvin bluemarvin merged commit 5e9fe5f into main Jul 6, 2020
@bluemarvin bluemarvin deleted the v12/pb_restore_fix branch July 6, 2020 17:46
@bluemarvin bluemarvin removed the Uplift PR that needs to be uplifted. label Jul 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants