Skip to content

Fix memory leak and performance degradation - #9

Closed
simPod wants to merge 2 commits into
masterfrom
pr-75
Closed

Fix memory leak and performance degradation#9
simPod wants to merge 2 commits into
masterfrom
pr-75

Conversation

@simPod

@simPod simPod commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Applies upstream pull request overblog#75 from overblog/dataloader-php: overblog#75

This change removes the strong references that prevent unused DataLoader instances from being collected and keeps active instances only while they have queued work.

The rebase also drains each adapter after dispatch so DataLoader::await() completes Webonyx batches while preserving nested-load coalescing. Test teardown resets the renamed active loader and static adapter state.

Andrii Sudiev and others added 2 commits August 18, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant