Skip to content

Commit eb8e755

Browse files
removes logs
1 parent 43a573f commit eb8e755

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cocos/scripting/js-bindings/manual/ScriptingCore.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,9 @@ void ScriptingCore::removeScriptObjectByObject(Ref* pObj)
893893
RemoveObjectRoot(cx, &jsproxy->obj);
894894
jsb_remove_proxy(nproxy, jsproxy);
895895
}
896-
else CCLOG("removeScriptObjectByObject. BUG: jsproxy not found = %p", nproxy);
896+
// else CCLOG("removeScriptObjectByObject. BUG: jsproxy not found = %p", nproxy);
897897
}
898-
else CCLOG("removeScriptObjectByObject. BUG: nproxy not found = %p", nproxy);
898+
// else CCLOG("removeScriptObjectByObject. BUG: nproxy not found = %p", nproxy);
899899
}
900900

901901

cocos/scripting/js-bindings/manual/js_manual_conversions.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ jsval resourcedata_to_jsval(JSContext* cx, const cocos2d::ResourceData& v);
282282

283283

284284
// forward declaration
285-
template <class T> js_type_class_t *js_get_type_from_native(T* native_obj);
285+
template <class T>
286+
js_type_class_t *js_get_type_from_native(T* native_obj);
286287

287288
// Ref version of ccvector_to_jsval
288289
template <class T>

0 commit comments

Comments
 (0)