Skip to content

Commit

Permalink
Ensure parent session is active before setting in Window (MozillaReal…
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin authored and Alexandre Lissy committed Jan 21, 2020
1 parent dc3da77 commit 7be09df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1110,8 +1110,8 @@ public void onStackSession(Session aSession) {
@Override
public void onUnstackSession(Session aSession, Session aParent) {
if (mSession == aSession) {
setSession(aParent);
aParent.setActive(true);
setSession(aParent);
SessionStore.get().setActiveSession(aParent);
SessionStore.get().destroySession(aSession);
}
Expand Down

0 comments on commit 7be09df

Please sign in to comment.