def on_close(self, context): for source in self._current_sources: if hasattr(source, 'on_close'): source.on_close(source.context)
def on_close(self, context): for source in self._current_sources: if hasattr(source, 'on_close'): source.on_close(source.context)