Open ostropik opened 1 year ago
On the second call io.run_one(); will appear timeout expired event from deadline_timer even if on the second call timer was not added to async_wait() So this deadline_timer event from previous io.run_one(); with timer
void io_context::restart()
On the second call io.run_one(); will appear timeout expired event from deadline_timer even if on the second call timer was not added to async_wait() So this deadline_timer event from previous io.run_one(); with timer