~starius/wt-classes/1.4.0

Viewing all changes in revision 868.

  • Committer: Boris Nagaev
  • Date: 2012-05-01 17:43:56 UTC
  • Revision ID: hg-v1:a0eb2b18c1dbbfba669cdee1c215c79cbcac3f92
util: fix possible memory leak in schedule_action() helper class for Wt 3.1.2

To properly stop asio::io_service:
 * first, delete io_service::work, connected to
 * then io_service::stop()

Previously, io_service was stopped without work deletion.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: