From 293c124f6e49530a10e7b1c1bcb90e41ec05b420 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 6 Dec 2006 17:51:42 +0000 Subject: Allow non-durable messages to be lazy-loaded. Cleanup of lazy-loaded messages that are never enqueued. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@483165 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/lib/broker/LazyLoadedContent.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qpid/cpp/lib/broker/LazyLoadedContent.cpp') diff --git a/qpid/cpp/lib/broker/LazyLoadedContent.cpp b/qpid/cpp/lib/broker/LazyLoadedContent.cpp index c0da48efda..51aa6c590b 100644 --- a/qpid/cpp/lib/broker/LazyLoadedContent.cpp +++ b/qpid/cpp/lib/broker/LazyLoadedContent.cpp @@ -56,3 +56,8 @@ void LazyLoadedContent::encode(Buffer&) { //do nothing as all content is written as soon as it is added } + +void LazyLoadedContent::destroy() +{ + store->destroy(msg); +} -- cgit v1.2.1