mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed a issue that Rainmeter crashes at LSLog(). (multithreading issue)
This commit is contained in:
@ -195,7 +195,9 @@ public:
|
||||
void StartLogging();
|
||||
void StopLogging();
|
||||
void DeleteLogFile();
|
||||
std::list<LOG_INFO> m_LogData;
|
||||
|
||||
void AddAboutLogInfo(const LOG_INFO& logInfo);
|
||||
const std::list<LOG_INFO>& GetAboutLogData() { return m_LogData; }
|
||||
|
||||
void SetDebug(bool debug);
|
||||
|
||||
@ -279,6 +281,9 @@ private:
|
||||
|
||||
bool m_Logging;
|
||||
|
||||
std::list<LOG_INFO> m_LogData;
|
||||
CRITICAL_SECTION m_CsLogData;
|
||||
|
||||
std::wstring m_ConfigEditor;
|
||||
std::wstring m_LogViewer;
|
||||
|
||||
|
Reference in New Issue
Block a user