rug-compling/alpinocorpus — comment on commit e383f641585ec8c75fccbb0872c84294f2b5ea7f
File:  line 0
By danieldk:

Indeed, the documentation there is a bit spotty. I looked up the actual constructor to check, though in C++ you can usually assume destructors to clean up ([RIIA](http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization)).

With respect to io_service: calling stop() is not necessary if the instance goes immediately out of scope afterwards (the destructor shuts down services):

http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/reference/io_service/_io_service.html