Skip to content

JSClosure will be overriden from other closure #218

Closed
@sidepelican

Description

@sidepelican

JSClosure stores its identifier and tell it to JS for bridging, but the identifiers has a trouble.
hashValue is used for the identifier, but hashValue is not guaranteed to be unique.

hostFuncRef = JavaScriptHostFuncRef(bitPattern: Int32(ObjectIdentifier(self).hashValue))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions