Fix logger error problem

This commit is contained in:
xiefangqi 2021-04-01 22:50:48 +08:00
parent 89e29420a9
commit eb4153186e
1 changed files with 0 additions and 1 deletions

View File

@ -98,7 +98,6 @@ class Iterator:
"""
Manually terminate Python iterator instead of relying on out of scope destruction.
"""
logger.info("Terminating Python iterator. This will also terminate C++ pipeline.")
if hasattr(self, '_runtime_context') and self._runtime_context:
if hasattr(self, '_iterator') and self._iterator:
self._runtime_context.Terminate()