Skip to content

Commit

Permalink
Fix assertion in debug version
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
alex85k committed Feb 4, 2014
1 parent f14fac3 commit 275961f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Contractor/TemporaryStorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ TemporaryStorage & TemporaryStorage::GetInstance(){

TemporaryStorage::~TemporaryStorage() {
RemoveAll();
mutex.unlock();
}

void TemporaryStorage::RemoveAll() {
Expand Down

0 comments on commit 275961f

Please sign in to comment.