摘要: 在Android打包项目时,发现登录功能不能使用了,logcat中也没发现什么问题,最后一行一行log定位到了问题。原来是一个so文件中的构造函数被初始化二次! 这个单例是通过继承模板来实现的(暂时不考虑线程安全的问题) templateclass CSingleT{public: static T * Instance() { if (!ms_pObje... 阅读全文
posted @ 2014-08-28 17:20 meteoric_cry 阅读(2038) 评论(0) 推荐(0) 编辑