@internal
()
| 338 | |
| 339 | /** @internal */ |
| 340 | _markDisconnected(): void { |
| 341 | this.disconnected = true; |
| 342 | this.eventHandlers.clear(); |
| 343 | this.typedEventHandlers.clear(); |
| 344 | this.toolHandlers.clear(); |
| 345 | this.permissionHandler = undefined; |
| 346 | this.userInputHandler = undefined; |
| 347 | this.elicitationHandler = undefined; |
| 348 | this.exitPlanModeHandler = undefined; |
| 349 | this.autoModeSwitchHandler = undefined; |
| 350 | this.commandHandlers.clear(); |
| 351 | this.canvases.clear(); |
| 352 | this.transformCallbacks?.clear(); |
| 353 | } |
| 354 | |
| 355 | /** |
| 356 | * Subscribes to events from this session. |
no test coverage detected