更新代码

This commit is contained in:
feiyangqingyun
2020-05-28 09:54:14 +08:00
parent 2e8d2e627d
commit 87f5267b42

View File

@@ -18,7 +18,7 @@ void Log(QtMsgType type, const QMessageLogContext &, const QString &msg)
#endif
{
//加锁,防止多线程中qdebug太频繁导致崩溃
QMutex mutex;
static QMutex mutex;
QMutexLocker locker(&mutex);
QString content;