Skip to content

Add daemon Promise cleanup compatibility helper - #643

Merged
lippserd merged 1 commit into
mainfrom
reactphp-compat
Jun 26, 2026
Merged

Add daemon Promise cleanup compatibility helper#643
lippserd merged 1 commit into
mainfrom
reactphp-compat

Conversation

@lippserd

Copy link
Copy Markdown
Member

ReactPHP Promise v2 exposes cleanup through always(), while v3 exposes it through finally(). Use a small daemon helper so check-plugin shutdown registration works with both dependency branches.

ReactPHP Promise v2 exposes cleanup through always(), while v3 exposes it
through finally(). Use a small daemon helper so check-plugin shutdown
registration works with both dependency branches.
@lippserd lippserd added this to the v1.8.4 milestone Jun 26, 2026
@cla-bot cla-bot Bot added the cla/signed label Jun 26, 2026
@lippserd
lippserd merged commit 741157d into main Jun 26, 2026
5 checks passed
lippserd added a commit that referenced this pull request Jun 26, 2026
ReactPHP Promise v2 exposes cleanup through always(), while v3 exposes it
through finally(). Use a small daemon helper so check-plugin shutdown
registration works with both dependency branches.

(cherry picked from commit 741157d)
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.

1 participant