更新代码

master
feiyangqingyun 2020-05-28 09:54:00 +08:00
parent b694ab0085
commit 8f890420ec
1 changed files with 1 additions and 1 deletions

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;