关于释放资源,有时候不能太相信 POP了,
2013-12-23 11:34
232 查看
比如 之前添加的通知就没有给释放,
-(void)backAction:(id)sender
{
[imageDataArrremoveAllObjects];
imageIndex = 0;
[self.navigationControllerpopViewControllerAnimated:YES];
[[NSNotificationCenterdefaultCenter] removeObserver:self];
}
-(void)backAction:(id)sender
{
[imageDataArrremoveAllObjects];
imageIndex = 0;
[self.navigationControllerpopViewControllerAnimated:YES];
[[NSNotificationCenterdefaultCenter] removeObserver:self];
}
相关文章推荐
- Linux内核ARM构架中原子变量的底层实现研究
- 16C2550串口芯片在at91sam9263板上的linux驱动移植 .
- linux解压 tar命令
- linux解压 tar命令
- Linux源码阅读:以后怎么看源码的思考
- Linux Epoll介绍和程序实例
- 网游服务器数据访问架构模式
- linux上vnc server的详细配置过程
- Linux Kernel 2.6.37 启动过程:startup_32
- s2sh+tomcat6.0+MySql连接池异常
- tomcat flex跨域访问的问题
- Linux Kernel 2.6.37 启动过程:漫步进入保护模式
- Linux Kernel 2.6.37 启动过程:go_to_protected_mode
- Linux Kernel 2.6.37 启动过程笔记 :set_video
- linux磁盘配额quota
- Linux 整理笔记
- Linux epoll使用详解
- Linux SVN 搭建(源码)
- linux下samba服务的安装及配置
- OpenLDAP windows版安装及配置