Skip to content

Enable Weak References by default #3384

Closed
@luveti

Description

@luveti

Motivation

WeakRef is now supported by all mainstream browsers: https://caniuse.com/mdn-javascript_builtins_weakref

Proposed Solution

Remove WASM_BINDGEN_WEAKREF and set the default value to true.

Alternatives

Leak memory forever.. :)

Additional Context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeTracking breaking changes for the next major version bump (if ever)enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions