server: release bound callbacks on cleanup()
The now Dead Op may still be held by user code. Ensure that cleanup() leaves that Op in a state where it can be safely dtor()ed from any thread.
This commit is contained in:
@@ -14,7 +14,7 @@ namespace pvxs { namespace impl {
|
||||
DEFINE_LOGGER(connsetup, "pvxs.tcp.setup");
|
||||
|
||||
namespace {
|
||||
struct ServerIntrospect : public ServerOp
|
||||
struct ServerIntrospect final : public ServerOp
|
||||
{
|
||||
ServerIntrospect(const std::shared_ptr<ServerChan>& chan, uint32_t ioid)
|
||||
:ServerOp(chan, ioid)
|
||||
|
||||
Reference in New Issue
Block a user