Closed ecatmur closed 1 year ago
Fixes use-after-destroy when shutdown() called from base execution_context destructor ends up calling work_finished() and accessing iocontext::impl data member. Fixes #1245.
Fixed by https://github.com/chriskohlhoff/asio/commit/1408e2895c94c8e254e9e8ddd66ba083777f0dc2 (other than documentation)
Fixes use-after-destroy when shutdown() called from base execution_context destructor ends up calling work_finished() and accessing iocontext::impl data member. Fixes #1245.