added removal of turtle handling when canceling/ending a file transfer. next step: Turtle download is now ready for gui integration

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-06-14 19:34:22 +00:00
parent 0a7d39d4da
commit 51eb8b8eaf

View File

@ -436,6 +436,8 @@ bool ftController::completeFile(std::string hash)
mDataplex->removeTransferModule(hash_to_suppress) ;
mDownloads.erase(it);
mTurtle->stopMonitoringFileTunnels(hash_to_suppress) ;
} /******* UNLOCKED ********/
@ -889,8 +891,8 @@ bool ftController::FileCancel(std::string hash)
#endif
}
//fc->mState = ftFileControl::ERROR_COMPLETION;
mDownloads.erase(mit);
mTurtle->stopMonitoringFileTunnels(hash) ;
IndicateConfigChanged(); /* completed transfer -> save */
return true;