mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
mutex fixes, server shutdown works again
This commit is contained in:
parent
d792c3ddc6
commit
671214c60e
9 changed files with 34 additions and 27 deletions
|
|
@ -128,7 +128,6 @@ int main(int argc, char *argv[])
|
|||
loggerThread = new QThread;
|
||||
logger = new ServerLogger;
|
||||
logger->moveToThread(loggerThread);
|
||||
QObject::connect(logger, SIGNAL(destroyed()), loggerThread, SLOT(quit()));
|
||||
|
||||
loggerThread->start();
|
||||
QMetaObject::invokeMethod(logger, "startLog", Qt::BlockingQueuedConnection, Q_ARG(QString, settings->value("server/logfile").toString()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue