Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara committed Mar 7, 2024
1 parent 2e1bde2 commit 8d93f93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mono/browser/runtime/gc-handles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ export function setup_managed_proxy(owner: any, gc_handle: GCHandle): void {

export function upgrade_managed_proxy_to_strong_ref(owner: any, gc_handle: GCHandle): void {
const sr = create_strong_ref(owner);
if (_use_finalization_registry) {
_js_owned_object_registry.unregister(owner);
}
_js_owned_object_table.set(gc_handle, sr);
}

Expand Down

0 comments on commit 8d93f93

Please sign in to comment.