こんにちは私は次のコードを持っています
NSString *analyticsStr = [[NSString alloc] initWithString:[self constructXMLMessage:TagObj]];
NSInvocationOperation *operation = [[NSInvocationOperation alloc] initWithTarget:self
selector:@selector(sendAnalyticsString:)
object:analyticsStr];
[operationQueue addOperation:operation];
[analyticsStr release];
//[operation release];
[操作リリース] のコメントを外すと、アプリがクラッシュします。そして、私はこのエラーを受け取ります:
malloc: * オブジェクト 0x726ed50 のエラー: 解放中のポインターが割り当てられませんでした *デバッグするために malloc_error_break にブレークポイントを設定します
私は、 NSOperationQueue がオブジェクトの保持を処理すると考えていました。私が間違っていること、または気づいていないことはありますか。