8000 Weak links: remove reference to an item by Horusiath · Pull Request #550 · y-crdt/y-crdt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Weak links: remove reference to an item #550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 16, 2025

Conversation

Horusiath
Copy link
Collaborator
@Horusiath Horusiath commented May 16, 2025

This PR removes a relation to ItemPtr from within WeakRef LinkSource. This should fix #536 . We used item pointers cache for faster access, but in retrospect it doesn't help a lot while introducing risk of stale memory pointers.

@Horusiath Horusiath force-pushed the weak-links-remove-item-ptr branch from 96f2cfa to 1ed0c8e Compare May 16, 2025 10:53
@Horusiath Horusiath force-pushed the weak-links-remove-item-ptr branch from 1ed0c8e to ad59c1b Compare May 16, 2025 10:54
@Horusiath Horusiath merged commit 8bb76f9 into y-crdt:main May 16, 2025
8 checks passed
@Horusiath Horusiath mentioned this pull request May 16, 2025
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.

crash when using WeakLink
1 participant
0