mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove a redundant mutex lock in logging.
Really can't see any purpose at all... Weird.
This commit is contained in:
parent
d0a319c3bd
commit
26850d80f0
2 changed files with 0 additions and 2 deletions
|
@ -234,7 +234,6 @@ void LogManager::Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, const
|
|||
file = fileshort + 1;
|
||||
}
|
||||
|
||||
std::lock_guard<std::mutex> lk(log_lock_);
|
||||
GetTimeFormatted(message.timestamp);
|
||||
|
||||
if (hleCurrentThreadName) {
|
||||
|
|
|
@ -122,7 +122,6 @@ private:
|
|||
RingbufferLogListener *ringLog_ = nullptr;
|
||||
static LogManager *logManager_; // Singleton. Ugh.
|
||||
|
||||
std::mutex log_lock_;
|
||||
std::mutex listeners_lock_;
|
||||
std::vector<LogListener*> listeners_;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue