Fix a memory leak in CmaRootObject.

Assign a thread name for easy debugging.
This commit is contained in:
codestation
2013-08-20 00:41:18 -04:30
parent 0704cfa80a
commit d4dcb42a8e
7 changed files with 12 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ class BaseWorker : public QObject
public:
explicit BaseWorker(QObject *parent = 0);
void start();
void start(const char *thread_name = NULL);
private:
QThread *thread;