diff options
Diffstat (limited to 'cpp/src/broker/Reference.cpp')
-rw-r--r-- | cpp/src/broker/Reference.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/broker/Reference.cpp b/cpp/src/broker/Reference.cpp index ef55d3e6a2..1ef2eb44d0 100644 --- a/cpp/src/broker/Reference.cpp +++ b/cpp/src/broker/Reference.cpp @@ -46,6 +46,7 @@ void Reference::append(AppendPtr ptr) { } void Reference::close() { + messages.clear(); registry->references.erase(getId()); } |