class_docstr: Calls on_session_destroyed callbacks defined on the Document.
      
code: def __init__(self) -> None:
      super().__init__()
      self._on_session_destroyed = _on_session_destroyed
  
file_path: bokeh/src/bokeh/application/handlers/document_lifecycle.py
imports: from __future__ import annotations
  import logging
  from ..application import SessionContext
  from .lifecycle import LifecycleHandler
label_desc: Use image node_id 1 to create a new DocumentLifecycleHandler object from inherited base classes: LifecycleHandler with example: obj = DocumentLifecycleHandler()