Skip to content

Commit 39c207b

Browse files
Fix JAVASCRIPTKIT_WITHOUT_WEAKREFS build
1 parent d1781a8 commit 39c207b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JavaScriptKit/FundamentalObjects/JSClosure.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ func _call_host_function_impl(
221221
extension JSClosure {
222222
public func release() {
223223
isReleased = true
224-
Self.sharedClosures[hostFuncRef] = nil
224+
Self.sharedClosures.wrappedValue[hostFuncRef] = nil
225225
}
226226
}
227227

0 commit comments

Comments
 (0)