code: def fire_framework_stopping(self):
          
          with self.__fw_lock:
              # Copy the list of listeners
              listeners = self.__fw_listeners[:]
  
          for listener in listeners:
              try:
                  listener.framework_stopping()
              except:
                  self._logger.exception(
                      "An error occurred calling one of the "
                      "framework stop listeners"
                  )
docs: Calls all framework listeners, telling them that the framework is
          stopping