(reason: string)
| 1499 | } |
| 1500 | |
| 1501 | async closeSession(reason: string): Promise<void> { |
| 1502 | const previous = this.unloadCurrentSession(reason); |
| 1503 | await previous?.close(); |
| 1504 | } |
| 1505 | |
| 1506 | private unloadCurrentSession(reason: string): Session | undefined { |
| 1507 | const previous = this.session; |
no test coverage detected