mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
parent
f727dc3c42
commit
5cd030568f
Notes:
sideshowbarker
2024-07-18 05:05:52 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5cd030568ff
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ void Thread::finalize()
|
||||||
VERIFY(Thread::current() != this);
|
VERIFY(Thread::current() != this);
|
||||||
|
|
||||||
#if LOCK_DEBUG
|
#if LOCK_DEBUG
|
||||||
VERIFY(!m_lock.is_locked_by_current_thread());
|
VERIFY(!m_lock.is_locked_by_current_processor());
|
||||||
if (lock_count() > 0) {
|
if (lock_count() > 0) {
|
||||||
dbgln("Thread {} leaking {} Locks!", *this, lock_count());
|
dbgln("Thread {} leaking {} Locks!", *this, lock_count());
|
||||||
SpinlockLocker list_lock(m_holding_locks_lock);
|
SpinlockLocker list_lock(m_holding_locks_lock);
|
||||||
|
|
Loading…
Reference in a new issue