访问数据库时应用程序崩溃

时间:2013-02-14 06:42:38

标签: iphone ios memory-management

在我的应用程序中,我在后台访问数据库并将数据发送到服务器。为此,我们使用NSThread方法

[NSThread detachNewThreadSelector:@selector(repeatedMethod) toTarget:self withObject:nil];

这导致应用程序崩溃并出现以下错误:  malloc: error for object 0xc53c200: double free set a breakpoint in malloc_error_break to debug

0 个答案:

没有答案