This stops the background transfers
()
| 538 | |
| 539 | // This stops the background transfers |
| 540 | func (s *syncCopyMove) stopTransfers() { |
| 541 | s.toBeUploaded.Close() |
| 542 | fs.Debugf(s.fdst, "Waiting for transfers to finish") |
| 543 | s.transfersWg.Wait() |
| 544 | } |
| 545 | |
| 546 | // This starts the background renamers. |
| 547 | func (s *syncCopyMove) startRenamers() { |