TESTING ONLY: RemoveAllSystems removes all systems from the store
()
| 111 | |
| 112 | // TESTING ONLY: RemoveAllSystems removes all systems from the store |
| 113 | func (sm *SystemManager) RemoveAllSystems() { |
| 114 | for _, system := range sm.systems.GetAll() { |
| 115 | sm.RemoveSystem(system.Id) |
| 116 | } |
| 117 | sm.smartFetchMap.StopCleaner() |
| 118 | } |
| 119 | |
| 120 | func (s *System) StopUpdater() { |
| 121 | s.cancel() |