mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-03 01:15:41 -07:00
mutex fixes, server shutdown works again
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user