mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 374681: 260 GC roots remain after destroying JSRuntime (not the complete fix, I think), r=brendan
This commit is contained in:
parent
d6d45a335b
commit
0fe28fccb5
@ -331,9 +331,7 @@ destroy_java_member_descriptor(JSContext *cx, JNIEnv *jEnv, JavaMemberDescriptor
|
||||
method = next_method;
|
||||
}
|
||||
|
||||
if (member_descriptor->invoke_func_obj)
|
||||
JS_RemoveRoot(cx, &member_descriptor->invoke_func_obj);
|
||||
|
||||
JS_RemoveRoot(cx, &member_descriptor->invoke_func_obj);
|
||||
JS_FREE_IF(cx, (char *)member_descriptor->name);
|
||||
JS_free(cx, member_descriptor);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user