android 开发过程中,登陆后,退出,来回超过4次以后,点击退出登陆,页面就不动了。就不能退出登陆了。
LogCat:
A SQLiteConnection object for database '/data/data/com.zoe.shortcake_sf_doctor/databases/SHORTCAKE' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
GC_FOR_ALLOC freed 381K, 53% free 10521K/21968K, paused 6ms, total 8ms
eglSurfaceAttrib not implemented
可能是你使用数据库后,Cursor没用及时施放造成的吧
数据库或者cursor用完要close掉,缓冲区满了就操作不了数据库了