single instance log & add global broadcast

This commit is contained in:
王劲鹏
2021-06-07 18:12:31 +08:00
committed by osborn
parent bb48faaf47
commit 4c3b5b1278
8 changed files with 32 additions and 7 deletions

View File

@@ -10,9 +10,9 @@
class DORIC_EXPORT DoricContextManager {
private:
static DoricContextManager *local_instance;
DoricContextManager() {}
DoricContextManager() { qDebug() << "DoricContextManager constructor"; }
~DoricContextManager() {}
~DoricContextManager() { qDebug() << "DoricContextManager destructor"; }
QAtomicInt *counter = new QAtomicInt();
QMap<QString, DoricContext *> *contextMap =