Skip to content

otp: fix tracked values race#662

Merged
jgonet merged 1 commit into
mainfrom
jgonet/push-vqlwtqmqtsro
Jul 11, 2026
Merged

otp: fix tracked values race#662
jgonet merged 1 commit into
mainfrom
jgonet/push-vqlwtqmqtsro

Conversation

@jgonet

@jgonet jgonet commented Jul 11, 2026

Copy link
Copy Markdown
Member

On TrackedValues serialization we could've gone into situation where the value is GC'd and we still didn't deserialize it on the JS side. We extend the lifetime of TrackedValues now to keep it alive until send/1 delivers the message or run_js/3 receives a reply or times out.

On TrackedValues serialization we could've gone into situation where the value is GC'd
and we still didn't deserialize it on the JS side. We extend the lifetime of TrackedValues
now to keep it alive until send/1 delivers the message or run_js/3 receives a reply or times out.
@jgonet jgonet merged commit 966064b into main Jul 11, 2026
2 checks passed
@jgonet jgonet deleted the jgonet/push-vqlwtqmqtsro branch July 11, 2026 18:22
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