SessionImpl.close() should check if already closed before calling statistics closeSession()

Description

Otherwise your open and close stats can get out of sync. That is, unless you intended that behavior for people to track when they call close more than once, but I would think that would be a logging line rather than the behavior of the stats.

Environment

None

Status

Assignee

GavinG

Reporter

Eric Sword

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure