12 Oct
2010
12 Oct
'10
1:23 p.m.
Does this mean that async handlers may be called after calling deadline_timer::cancel()
Yes.
If yes, it seems make things unintuitive, eg. delete the resources that associate with handlers after cancel().
Don't delete these resources, bind them to a shared_ptr and they will be released automatically after the handler invocation is complete.