$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [ASIO] Access violation on io_service::work destructor
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-09-23 09:52:50
On 2010-09-23 15:28, Daniele Barzotti wrote:
>
> Ops..you're right!!
>
> I change my code with the following and now all seems to work as expected!
>
That's odd. You are using a static shared pointer, so I would expect the
reference count of pwork to be #objects + 1, not #objects.
Regards,
Rutger