Skip to content

Commit

Permalink
更新代码
Browse files Browse the repository at this point in the history
  • Loading branch information
feiyangqingyun committed May 28, 2020
1 parent 2e8d2e6 commit 87f5267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion savelog/savelog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 87f5267

Please sign in to comment.