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).
This commit is contained in:
alex85k 2014-02-04 19:56:23 +06:00
parent f14fac3f7d
commit 275961f088

View File

@ -38,7 +38,6 @@ TemporaryStorage & TemporaryStorage::GetInstance(){
TemporaryStorage::~TemporaryStorage() {
RemoveAll();
mutex.unlock();
}
void TemporaryStorage::RemoveAll() {