| 261 | typename T |
| 262 | > |
| 263 | void timer<T>:: |
| 264 | clear( |
| 265 | ) |
| 266 | { |
| 267 | auto_mutex M(gc->m); |
| 268 | running = false; |
| 269 | gc->remove(this); |
| 270 | delay = 1000; |
| 271 | next_time_to_run = 0; |
| 272 | } |
| 273 | |
| 274 | // ---------------------------------------------------------------------------------------- |
| 275 |