[BUGFIX] Semaphore test: release system resources
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Locking / SemaphoreLockStrategyTest.php
index c1e4208..50c1b86 100644 (file)
@@ -40,5 +40,6 @@ class SemaphoreLockStrategyTest extends UnitTestCase
         $lock = new SemaphoreLockStrategy('99999');
         $this->assertTrue($lock->acquire());
         $lock->release();
+        $lock->destroy();
     }
 }