Add a thread-quitting cleaning method. when a thread is quitting, its finished...
Add a thread-quitting cleaning method. when a thread is quitting, its finished signal will be caugth, so that , db resource class can clean the database connections belongs to this thread one by one. this method is very important in some situation, such as Qt-concurrent threading, threads will be created, deleted frequently.
Showing
想要评论请 注册 或 登录