Skip to content

Conversation

@nielsdos
Copy link
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.

@nielsdos nielsdos 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.
@nielsdos nielsdos 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