After killing the master, we need to make sure its reference count is decreased.
(self)
| 204 | Master.count += 1 |
| 205 | |
| 206 | def kill(self): |
| 207 | """ |
| 208 | After killing the master, we need to make sure its |
| 209 | reference count is decreased. |
| 210 | """ |
| 211 | super(Master, self).kill() |
| 212 | Master.count -= 1 |
| 213 | |
| 214 | |
| 215 | class Agent(Executable): |