aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTom Englund <[email protected]>2024-08-07 13:22:01 +0200
committerGitHub <[email protected]>2024-08-07 13:22:01 +0200
commit5b736a4a661220ab07abc3afda6cdb8774095bfb (patch)
tree18573f7b1615ad76b486262c4def5450c0b8137e
parentfa6ee513678e6e1cfdc575a421c1e0ddf4608994 (diff)
downloadHyprland-5b736a4a661220ab07abc3afda6cdb8774095bfb.tar.gz
Hyprland-5b736a4a661220ab07abc3afda6cdb8774095bfb.zip
debug: dont manually unlock the lock_guard (#7210)
when lock_guard goes out of scope it RAII itself and calls unlock. causes crashes on freebsd/libc++ and double unlocking a mutex is UB.
-rw-r--r--src/debug/Log.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/debug/Log.hpp b/src/debug/Log.hpp
index 617f451a..4fc8ed5b 100644
--- a/src/debug/Log.hpp
+++ b/src/debug/Log.hpp
@@ -72,6 +72,5 @@ namespace Debug {
logMsg += std::vformat(fmt.get(), std::make_format_args(args...));
log(level, logMsg);
- logMutex.unlock();
}
};