Stop pre-warming. Move to state_closed from any state. */
| 167 | Stop pre-warming. Move to state_closed from any state. |
| 168 | */ |
| 169 | void |
| 170 | PreWarmSM::stop() |
| 171 | { |
| 172 | if (handler == &PreWarmSM::state_closed) { |
| 173 | // do nothing |
| 174 | return; |
| 175 | } |
| 176 | |
| 177 | _reset(); |
| 178 | SET_HANDLER(&PreWarmSM::state_closed); |
| 179 | _milestones.mark(Milestone::CLOSED); |
| 180 | } |
| 181 | |
| 182 | void |
| 183 | PreWarmSM::destroy() |
no test coverage detected