Skip to content
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

src: avoid making JSTransferable wrapper object weak #50026

Merged
merged 1 commit into from
Oct 10, 2023

Commits on Oct 3, 2023

  1. src: avoid making JSTransferable wrapper object weak

    JSTransferable wrapper object is a short-lived wrapper in the scope of
    the serialization or the deserialization. Make the JSTransferable
    wrapper object pointer as a strongly-referenced detached BaseObjectPtr
    so that a JSTransferable wrapper object and its target object will never
    be garbage-collected during a ser-des process, and the wrapper object
    will be immediately destroyed when the process is completed.
    legendecas committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    05b39ea View commit details
    Browse the repository at this point in the history