class_docstr: An EnvironmentCollector is a specific data collector from each document.
  
  It gathers data and stores :py:class:`BuildEnvironment
  <sphinx.environment.BuildEnvironment>` as a database.  Examples of specific
  data would be images, download files, section titles, metadatas, index
  entries and toctrees, etc.
code: def disable(self, app: Sphinx) -> None:
      assert self.listener_ids is not None
      for listener_id in self.listener_ids.values():
          app.disconnect(listener_id)
      self.listener_ids = None
  
file_path: sphinx/sphinx/environment/collectors/__init__.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
label_desc: Use image node_id 2 for calling the EnvironmentCollector obj's underlying member method code with example usage: obj.disable(app) without return types