Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions include/tsutil/DbgCtl.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ class DbgCtl

static const _TagData *_new_reference(char const *tag);

// Deprecated: backward compatibility stub, no-op since we now use leaky singleton.
// TODO: This can be removed in 11.x because we don't have to worry about
// compatibility there.
static void _rm_reference();

class _RegistryAccessor;

static std::atomic<int> _config_mode;
Expand Down
8 changes: 8 additions & 0 deletions src/tsutil/DbgCtl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,14 @@ DbgCtl::_new_reference(char const *tag)
return new_tag_data;
}

// Deprecated: backward compatibility stub for ABI compatibility with plugins
// compiled against pre-leaky-singleton versions. Does nothing since the
// registry is now never destroyed.
void
DbgCtl::_rm_reference()
{
}

void
DbgCtl::update(const std::function<bool(const char *)> &f)
{
Expand Down