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
|
|
@ -16,6 +16,8 @@ ServerLogger::ServerLogger(QObject *parent)
|
|||
ServerLogger::~ServerLogger()
|
||||
{
|
||||
flushBuffer();
|
||||
// This does not work with the destroyed() signal as this destructor is called after the main event loop is done.
|
||||
thread()->quit();
|
||||
}
|
||||
|
||||
void ServerLogger::startLog(const QString &logFileName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue