if (member_descriptor->invoke_func_obj) JS_RemoveRoot(cx, &member_descriptor->invoke_func_obj);
destroy_java_member_descriptor(JSContext *cx, JNIEnv *jEnv, JavaMemberDescriptor *member_descriptor){    JavaMethodSpec *method, *next_method;    if (member_descriptor->field)        jsj_DestroyFieldSpec(cx, jEnv, member_descriptor->field);    method = member_descriptor->methods;    while (method) {        next_method = method->next;        jsj_DestroyMethodSpec(cx, jEnv, method);        method = next_method;    }}