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

Commit

Permalink
Do not call anything after session.close() (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrouget authored and MortimerGoro committed Oct 25, 2018
1 parent cda30ae commit 1cd5047
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,13 +328,13 @@ public void removeSession(int aSessionId) {
session.setPromptDelegate(null);
session.setPermissionDelegate(null);
session.setTrackingProtectionDelegate(null);
session.close();
mSessions.remove(aSessionId);
for (SessionChangeListener listener: mSessionChangeListeners) {
listener.onRemoveSession(session, aSessionId);
}
session.setActive(false);
session.stop();
session.close();
}
}

Expand Down

0 comments on commit 1cd5047

Please sign in to comment.