Skip to content

Commit 7fb203a

Browse files
committed
Merge branch '6.x' into 7.x
2 parents 5339803 + 4e0d407 commit 7fb203a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
librdkafka: 'master'
8383
experimental: true
8484

85-
runs-on: 'ubuntu-20.04'
85+
runs-on: 'ubuntu-24.04'
8686
continue-on-error: ${{ !!matrix.experimental }}
8787
env:
8888
PHP_VERSION: ${{ matrix.php }}
@@ -98,12 +98,12 @@ jobs:
9898
with:
9999
path: 'php-rdkafka'
100100

101-
- uses: actions/cache@v2
101+
- uses: actions/cache@v4
102102
with:
103103
path: ~/build-cache/php
104104
key: ${{ runner.os }}-${{ matrix.arch }}-${{ matrix.php }}-${{ matrix.memcheck }}
105105

106-
- uses: actions/cache@v2
106+
- uses: actions/cache@v4
107107
with:
108108
path: ~/build-cache/librdkafka
109109
key: ${{ runner.os }}-${{ matrix.arch }}-${{ matrix.librdkafka }}

kafka_consumer.c

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

143143
if (!has_group_id(conf)) {
144+
zend_restore_error_handling(&error_handling);
144145
if (conf) {
145146
rd_kafka_conf_destroy(conf);
146147
}

0 commit comments

Comments
 (0)