diff --git a/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m b/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m index 1ebfa6b7b9..593ed2782f 100644 --- a/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m +++ b/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m @@ -211,15 +211,15 @@ - (void)resetEnvironment - (void)garbageCollect { // for dev and debug only!! - char str[80]; - strcpy(str, "JSSynchron"); - strcat(str, "ousGarbageColl"); - strcat(str, "ectForDebugging"); - WXJSCGarbageCollect garbageCollect = dlsym(RTLD_DEFAULT, str); - - if (garbageCollect != NULL) { - garbageCollect(_jsContext.JSGlobalContextRef); - } +// char str[80]; +// strcpy(str, "JSSynchron"); +// strcat(str, "ousGarbageColl"); +// strcat(str, "ectForDebugging"); +// WXJSCGarbageCollect garbageCollect = dlsym(RTLD_DEFAULT, str); +// +// if (garbageCollect != NULL) { +// garbageCollect(_jsContext.JSGlobalContextRef); +// } } #pragma mark - Private