unregister INI entries and fix invalid read on shutdown (#8042)

This commit is contained in:
Antony Dovgal 2020-11-25 22:02:35 +03:00 committed by GitHub
parent 471317f03a
commit 51b620ac96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,6 +297,7 @@ static PHP_MINIT_FUNCTION(protobuf) {
}
static PHP_MSHUTDOWN_FUNCTION(protobuf) {
UNREGISTER_INI_ENTRIES();
return SUCCESS;
}