Fix the issue of not destroying EventChannel properly if no events are sampled. EventIterator in Python supports now ContextManager paradigm.
Fix the issue of not destroying EventChannel properly if no events are sampled. EventIterator in Python supports now ContextManager paradigm.