Fix a memory leak in CmaRootObject.
Assign a thread name for easy debugging.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user