From 48937ca3e6035ff1b92994f2225172bd5549f992 Mon Sep 17 00:00:00 2001 From: minggo Date: Wed, 11 May 2016 11:10:11 +0800 Subject: [PATCH] disable new JSB memory model by default --- cocos/base/ccConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/base/ccConfig.h b/cocos/base/ccConfig.h index ed74b3acd4..90c519a8aa 100644 --- a/cocos/base/ccConfig.h +++ b/cocos/base/ccConfig.h @@ -338,7 +338,7 @@ THE SOFTWARE. */ #ifdef CC_ENABLE_SCRIPT_BINDING #ifndef CC_ENABLE_GC_FOR_NATIVE_OBJECTS - #define CC_ENABLE_GC_FOR_NATIVE_OBJECTS 1 + #define CC_ENABLE_GC_FOR_NATIVE_OBJECTS 0 #endif #endif