diff --git a/Kernel/Thread.h b/Kernel/Thread.h index 983fc83d4a..8bb7ed1d6e 100644 --- a/Kernel/Thread.h +++ b/Kernel/Thread.h @@ -398,7 +398,7 @@ public: virtual ~BlockerSet() { - SpinlockLocker lock(m_lock); + VERIFY(!m_lock.is_locked()); VERIFY(m_blockers.is_empty()); }