Skip to content

Feature: Custom GC, Packaging + Doc Improvements#205

Merged
Eli Pinkerton (wallstop) merged 16 commits into
masterfrom
dev/wallstop/fix-memory-leaks
May 7, 2026
Merged

Feature: Custom GC, Packaging + Doc Improvements#205
Eli Pinkerton (wallstop) merged 16 commits into
masterfrom
dev/wallstop/fix-memory-leaks

Conversation

@wallstop
Copy link
Copy Markdown
Collaborator

Description

This PR resolves memory-retention issues in DxMessaging and improves long-run stability.

User-facing impact:

  • Reclaims stale message-handler registrations so long-running sessions do not keep growing memory.
  • Keeps dispatch behavior stable while reducing pressure from orphaned slots/links.
  • Adds runtime settings so Unity projects can control reclamation behavior without code changes.
  • Expands diagnostics and documentation for troubleshooting and migration.

Related Issue

Fixes #

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactor (code change that neither fixes a bug nor adds a feature)

Checklist

  • All tests pass locally
  • Code is properly formatted
  • I have added tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have updated the CHANGELOG
  • My changes do not introduce breaking changes, or breaking changes are documented

Performance numbers

Scenario Baseline run This PR Delta
Dispatch throughput (Mono Editor) Captured in baseline benchmark run Captured in this PR benchmark run Reported by CI
Dispatch throughput (IL2CPP Player) Captured in baseline benchmark run Captured in this PR benchmark run Reported by CI

Copilot AI review requested due to automatic review settings May 6, 2026 23:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@wallstop Eli Pinkerton (wallstop) merged commit 6ed56f2 into master May 7, 2026
39 checks passed
@wallstop Eli Pinkerton (wallstop) deleted the dev/wallstop/fix-memory-leaks branch May 7, 2026 01:00
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.

2 participants