→ appleway:[NSString stringWithUTF8string:xx] 會autorelease吧 01/03 14:20
推 offname:留給 autorelease pool 就好了。 01/03 14:28
→ CharlieH:請問一下 我的setter是retain那個string,所以不是應該要 01/03 14:37
→ CharlieH:release他嗎? 01/03 14:37
→ popcorny:沒錯..你retain就要release... 01/03 15:38
→ popcorny:我猜是某個地方的bug 已經不小心把這個string release了 01/03 15:38
→ popcorny:你可以在release前..check retain count 01/03 15:39
→ CharlieH:奇怪的是 為什麼只有device單獨run的時候才會crash? 01/03 15:44
※ 編輯: CharlieH 來自: 122.116.222.246 (01/03 15:45)
→ CharlieH:而且我有用NSZombie 但是只要有debug message就不會有事 01/03 15:57
→ CharlieH:目前解決了 因為我FMResultSet沒有call close method 01/03 19:26
→ CharlieH:但是模擬器和device的行為不一樣還滿奇怪的 01/03 19:26