diff options
Diffstat (limited to 'runtime/barrier.cc')
| -rw-r--r-- | runtime/barrier.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/barrier.cc b/runtime/barrier.cc index 66ee8709a7..f80a65f0ba 100644 --- a/runtime/barrier.cc +++ b/runtime/barrier.cc @@ -86,7 +86,7 @@ void Barrier::SetCountLocked(Thread* self, int count) { } Barrier::~Barrier() { - CHECK(!count_) << "Attempted to destroy barrier with non zero count"; + CHECK_EQ(count_, 0) << "Attempted to destroy barrier with non zero count"; } } // namespace art |