Beispiel #1
0
Log::~Log()
{
    stopCustomHandler();
    if (m_mouseHandler)
        delete m_mouseHandler;

    if (m_logProcessor)
        delete m_logProcessor;
}
Beispiel #2
0
Log::~Log()
{
    stopCustomHandler();
//    delete m_mouseHandler;
    delete m_logProcessor;
    if (m_processorThread) {
//        m_processorThread->terminate();
        m_processorThread->quit();
        m_processorThread->wait();
        delete m_processorThread;
    }
    m_log = 0;

    qDebug() << "Log DTOR";
}