Skip to content

Conversation

@clinuxrulz
Copy link
Contributor

@clinuxrulz clinuxrulz commented Apr 24, 2025

Fix for Issue #4 .

Fixes a mount, unmount and remount of makeDocumentProjection of same doc handle still alive in memory. (Reference count goes from 1, to 0, to 1 again. After which the listeners are missing from handle)

…handle still in memory (lost reactivity on mount, unmount, then remount)
@chee
Copy link
Owner

chee commented Apr 25, 2025

thanks so much!

i'd like to add a failing test for this before we merge the fix.

i'm gonna try and add that this weekend, but if you get there first lmk!

@clinuxrulz
Copy link
Contributor Author

No problem. See pr #6 for the failing test that pr #5 fixes.

@chee
Copy link
Owner

chee commented Apr 25, 2025

@chee chee merged commit 98a532f into chee:main Apr 25, 2025
3 checks passed
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