mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
2147ea63d2
commit
ab26059570
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user