Skip to content

Commit 4e0d407

Browse files
nielsdosarnaud-lb
authored andcommitted
Fix missing call to zend_restore_error_handling()
1 parent bc8a4bb commit 4e0d407

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kafka_consumer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ PHP_METHOD(RdKafka_KafkaConsumer, __construct)
145145
}
146146

147147
if (!has_group_id(conf)) {
148+
zend_restore_error_handling(&error_handling);
148149
if (conf) {
149150
rd_kafka_conf_destroy(conf);
150151
}

0 commit comments

Comments
 (0)