stopWatcher stops the file watchers.
()
| 2321 | |
| 2322 | // stopWatcher stops the file watchers. |
| 2323 | func (a *App) stopWatcher() { |
| 2324 | if a.watcher != nil { |
| 2325 | a.watcher.Stop() |
| 2326 | } |
| 2327 | if a.progressWatcher != nil { |
| 2328 | a.progressWatcher.Stop() |
| 2329 | } |
| 2330 | } |
no test coverage detected