Update main.cpp

This commit is contained in:
iaom 2021-03-05 10:03:36 +08:00 committed by GitHub
parent fe7850b3da
commit aff1ad463a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -238,8 +238,9 @@ int main(int argc, char *argv[])
// fi->start(); // fi->start();
qDebug() << "main start"; qDebug() << "main start";
AppMatch::getAppMatch()->start(); AppMatch::getAppMatch()->start();
AppMatch apm; //wtf???
apm.start(); // AppMatch apm;
// apm.start();
QThreadPool::globalInstance()->setExpiryTimeout(5); QThreadPool::globalInstance()->setExpiryTimeout(5);
// QThreadPool::globalInstance()->clear(); // QThreadPool::globalInstance()->clear();
// setAutoDelete(true); // setAutoDelete(true);