Commit a2cf0c05 by Marcus Winter

fix spinlock test

parent 10c29687
...@@ -258,6 +258,7 @@ void SpinLockTest::TestSpinLockTooManySpins() { ...@@ -258,6 +258,7 @@ void SpinLockTest::TestSpinLockTooManySpins() {
lock.Unlock(); lock.Unlock();
success = lock.TryLock(100); success = lock.TryLock(100);
PT_ASSERT(success); PT_ASSERT(success);
lock.Unlock();
} }
} // namespace test } // namespace test
} // namespace base } // namespace base
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment