summaryrefslogtreecommitdiff
path: root/src/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutex.h')
-rw-r--r--src/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.h b/src/mutex.h
index 4af2ad7d0a..d0c636926d 100644
--- a/src/mutex.h
+++ b/src/mutex.h
@@ -107,7 +107,7 @@ class LOCKABLE Mutex : public BaseMutex {
// Assert that the Mutex is exclusively held by the current thread.
void AssertExclusiveHeld(const Thread* self) {
- if (kDebugLocking) {
+ if (kDebugLocking && !gAborting) {
CHECK(IsExclusiveHeld(self)) << *this;
}
}