You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Hm, good point! Looking at the relevant implementations I think that should be replaced with the UInt(bitPattern:) initializer which can take an ObjectIdentifier.
JSClosure stores its identifier and tell it to JS for bridging, but the identifiers has a trouble.
hashValue
is used for the identifier, buthashValue
is not guaranteed to be unique.JavaScriptKit/Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift
Line 89 in 1afbfaf
The text was updated successfully, but these errors were encountered: