From 275961f0880deee39e01e9e694f256a73ca33eed Mon Sep 17 00:00:00 2001 From: alex85k Date: Tue, 4 Feb 2014 19:56:23 +0600 Subject: [PATCH] Fix assertion in debug version When running tests on FreeBSD 10 on debug verion I got boost assertion errors in mutex.hpp:79 . It seems that mutex unlock is not needed (it is already unlocked and behavior is undefined). --- Contractor/TemporaryStorage.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Contractor/TemporaryStorage.cpp b/Contractor/TemporaryStorage.cpp index acb88f8a9fa..d0e160b6f4e 100644 --- a/Contractor/TemporaryStorage.cpp +++ b/Contractor/TemporaryStorage.cpp @@ -38,7 +38,6 @@ TemporaryStorage & TemporaryStorage::GetInstance(){ TemporaryStorage::~TemporaryStorage() { RemoveAll(); - mutex.unlock(); } void TemporaryStorage::RemoveAll() {