added missing mutex in destructor of ftFileProvider. Probably responsible for some random crashes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5802 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-11-11 10:29:03 +00:00
parent 2147ea63d2
commit ab26059570

View File

@ -33,6 +33,7 @@ ftFileProvider::ftFileProvider(const std::string& path, uint64_t size, const std
ftFileProvider::~ftFileProvider()
{
RsStackMutex stack(ftcMutex); /********** STACK LOCKED MTX ******/
#ifdef DEBUG_FT_FILE_PROVIDER
std::cout << "ftFileProvider::~ftFileProvider(): Destroying file provider for " << hash << std::endl ;
#endif