Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make sure to GC on_commit callable
  • Loading branch information
edenhill committed Aug 4, 2016
commit 353ac3f4dfac0da2ab5004a3887d60c1bad00b30
2 changes: 2 additions & 0 deletions confluent_kafka/src/Consumer.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ static int Consumer_traverse (Handle *self,
Py_VISIT(self->u.Consumer.on_assign);
if (self->u.Consumer.on_revoke)
Py_VISIT(self->u.Consumer.on_revoke);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we missing visiting on_commit?

if (self->u.Consumer.on_commit)
Py_VISIT(self->u.Consumer.on_commit);

Handle_traverse(self, visit, arg);

Expand Down