• 丁劲犇's avatar
    Add a thread-quitting cleaning method. when a thread is quitting, its finished... · 7c5ee8d8
    丁劲犇 提交于
    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.
    7c5ee8d8
databaseresource.h 2.0 KB