2008년 11월 25일 화요일

sendSynchronousRequest 는 Leak 을 유발한다?

NSURLConnection#sendSynchronousRequest 를 사용하면 Leak 이 발생한단다.
이런 문제를 Apple 은 왜 안고치는 걸까? App Forum 에도 비슷한 질문이 있던데, 아무런 답이 없다. --;
There is a well known leak in Apple's code for sendSynchronousRequest. Use the asynchronous methods instead. If you do a search on this forum you will find other examples of people reporting this.

Self size | Leacked Object
64 Bytes | CFRunLoopSource
64 Bytes | NSMachPort

댓글 1개:

Unknown :

iPhone OS 2.2에서 소리소문 없이 고쳐진것 같네요. 아직은 그 현상이 보이지 않네요.