mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
The working (hashing) thread FileIndexMonitor is now stopped when RetroShare is closed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6bb4854925
commit
0a42b7899e
10 changed files with 67 additions and 31 deletions
|
@ -209,7 +209,7 @@ void ftController::run()
|
|||
/* check the queues */
|
||||
uint32_t cnt = 0 ;
|
||||
|
||||
while(m_bRun)
|
||||
while(isRunning())
|
||||
{
|
||||
#ifdef WIN32
|
||||
Sleep(1000);
|
||||
|
|
|
@ -49,7 +49,7 @@ void ftExtraList::run()
|
|||
time_t cleanup = 0;
|
||||
time_t now = 0;
|
||||
|
||||
while (m_bRun)
|
||||
while (isRunning())
|
||||
{
|
||||
#ifdef DEBUG_ELIST
|
||||
//std::cerr << "ftExtraList::run() Iteration";
|
||||
|
|
|
@ -225,7 +225,7 @@ CacheTransfer *ftServer::getCacheTransfer()
|
|||
|
||||
void ftServer::run()
|
||||
{
|
||||
while(m_bRun)
|
||||
while(isRunning())
|
||||
{
|
||||
mFtDataplex->deleteUnusedServers() ;
|
||||
#ifdef WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue