* Cancels any pending timeout callback. * * Must be called in the strand in which the callback was scheduled! */
| 255 | * Must be called in the strand in which the callback was scheduled! |
| 256 | */ |
| 257 | void Timeout::Cancel() |
| 258 | { |
| 259 | m_Cancelled->store(true); |
| 260 | |
| 261 | boost::system::error_code ec; |
| 262 | m_Timer.cancel(ec); |
| 263 | } |
no test coverage detected