diff options
author | Tom Englund <[email protected]> | 2024-08-07 13:22:01 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-08-07 13:22:01 +0200 |
commit | 5b736a4a661220ab07abc3afda6cdb8774095bfb (patch) | |
tree | 18573f7b1615ad76b486262c4def5450c0b8137e /src/debug | |
parent | fa6ee513678e6e1cfdc575a421c1e0ddf4608994 (diff) | |
download | Hyprland-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.
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/Log.hpp | 1 |
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(); } }; |