Skip to content

Fix GH-18431: Registering ZIP progress callback twice doesn't work - #18432

Closed
ndossche wants to merge 1 commit into
php:PHP-8.3from
ndossche:fix-18431
Closed

ndossche wants to merge 1 commit into
php:PHP-8.3from
ndossche:fix-18431

Conversation

@ndossche

Copy link
Copy Markdown
Member

Libzip already cleans up the previous callback, so when that means:

  1. The callback zval being already copied over the previous one causes libzip to clean up the new callback object. This is the root cause.
  2. Our own code to clean the old callback is redundant.

@ndossche ndossche linked an issue Apr 26, 2025 that may be closed by this pull request
Libzip already cleans up the previous callback, so when that means:
1. The callback zval being already copied over the previous one causes
   libzip to clean up the new callback object. This is the root cause.
2. Our own code to clean the old callback is redundant.
@ndossche ndossche closed this in b066ac0 Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Registering ZIP progress callback twice doesn't work

2 participants