Merge "Disable another CHECK when gAborting" into dalvik-dev
diff --git a/src/mutex.cc b/src/mutex.cc
index 1cdbc4d..93b91e6 100644
--- a/src/mutex.cc
+++ b/src/mutex.cc
@@ -352,7 +352,7 @@
bool result = (GetExclusiveOwnerTid() == SafeGetTid(self));
if (kDebugLocking) {
// Sanity debug check that if we think it is locked we have it in our held mutexes.
- if (result && self != NULL && level_ != kMonitorLock) {
+ if (result && self != NULL && level_ != kMonitorLock && !gAborting) {
CHECK_EQ(self->GetHeldMutex(level_), this);
}
}