mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 22:52:54 -04:00
automatically close ongoing uploads when we stop sharing an extra file
This commit is contained in:
parent
2bd3fbf977
commit
9a440e077e
5 changed files with 30 additions and 4 deletions
libretroshare/src/ft
|
@ -817,7 +817,10 @@ bool ftServer::ExtraFileAdd(std::string fname, const RsFileHash& hash, uint64_t
|
|||
}
|
||||
|
||||
bool ftServer::ExtraFileRemove(const RsFileHash& hash)
|
||||
{ return mFileDatabase->removeExtraFile(hash); }
|
||||
{
|
||||
mFtController->FileServerCancel(hash);
|
||||
return mFileDatabase->removeExtraFile(hash);
|
||||
}
|
||||
|
||||
bool ftServer::ExtraFileHash( std::string localpath, rstime_t period, TransferRequestFlags flags )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue