Skip to content

Commit

Permalink
Fix kafka consumer not destroyed in close
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Keberlein committed Jan 12, 2024
1 parent 0aee7cf commit 24e0e9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kafka_consumer.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ PHP_METHOD(RdKafka_KafkaConsumer, close)
}

rd_kafka_consumer_close(intern->rk);
rd_kafka_destroy(intern->rk);
intern->rk = NULL;
}
/* }}} */
Expand Down

0 comments on commit 24e0e9c

Please sign in to comment.