Skip to content

Commit

Permalink
Fix build breakage (#3437)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin committed May 28, 2020
1 parent 13d3362 commit 3e06922
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -742,10 +742,8 @@ public void restoreSessions() {
if (windowState.tabIndex >= 0 && windowState.tabIndex < restoredSessions.size()) {
Session defaultSession = targetWindow.getSession();
Session session = restoredSessions.get(windowState.tabIndex);
targetWindow.setupListeners(session);
targetWindow.setSession(session, WindowWidget.DEACTIVATE_CURRENT_SESSION);
session.setActive(true);
targetWindow.setSession(session);
SessionStore.get().setActiveSession(session);
// Destroy the default blank session
SessionStore.get().destroySession(defaultSession);

Expand Down

0 comments on commit 3e06922

Please sign in to comment.