| skipped 74 lines |
75 | 75 | | |
76 | 76 | | // IsRunning returns true if our background goroutines defined in daemons.go are currently operational |
77 | 77 | | func (p5 *Swamp) IsRunning() bool { |
78 | | - | return atomic.LoadInt32(&p5.runningdaemons) == 2 |
| 78 | + | return atomic.LoadUint32(&p5.Status) == 0 |
79 | 79 | | } |
80 | 80 | | |
81 | 81 | | // GetRecyclingStatus retrieves the current recycling status, see EnableRecycling. |
| skipped 46 lines |