Make sure that BaseWorker deletes the thread when is finished.
Implemented ClientManager so it can manage the usb and wireless threads. Impelmented better mutex logic on CmaClient. Execute the cma events in a different thread so the event listener is available. Code refactoring. Fix memory leaks in threads. Updated readme.
This commit is contained in:
@@ -27,9 +27,7 @@
|
||||
#include <QMutex>
|
||||
#include <QObject>
|
||||
|
||||
extern "C" {
|
||||
#include <vitamtp.h>
|
||||
}
|
||||
|
||||
class Database : public QObject
|
||||
{
|
||||
@@ -77,7 +75,7 @@ private:
|
||||
bool checkFileType(const QString path, int ohfi_root);
|
||||
void dumpMetadataList(const metadata_t *p_head);
|
||||
|
||||
map_list object_list;
|
||||
map_list object_list;
|
||||
|
||||
signals:
|
||||
void finished();
|
||||
|
Reference in New Issue
Block a user