StopBackgroundRunners will signal all the runners to stop their work can be triggered from a terminate signal or from testing between runs
()
| 1791 | // StopBackgroundRunners will signal all the runners to stop their work |
| 1792 | // can be triggered from a terminate signal or from testing between runs |
| 1793 | func (f *Fs) StopBackgroundRunners() { |
| 1794 | f.cleanupChan <- false |
| 1795 | if f.opt.TempWritePath != "" && f.backgroundRunner != nil && f.backgroundRunner.isRunning() { |
| 1796 | f.backgroundRunner.close() |
| 1797 | } |
| 1798 | f.cache.Close() |
| 1799 | fs.Debugf(f, "Services stopped") |
| 1800 | } |
| 1801 | |
| 1802 | // UnWrap returns the Fs that this Fs is wrapping |
| 1803 | func (f *Fs) UnWrap() fs.Fs { |