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:
Michael Davidsaver committed 2023-10-03 20:43:41 -07:00
1 parent c4327022c9
commit 9b099be0d8
5 files changed
+30 -9

No files matched your search

+1 -1
View File
@@ -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)