summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceStorm/Instance.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/IceStorm/Instance.cpp b/cpp/src/IceStorm/Instance.cpp
index e9e96e49bf5..5dd876da63e 100644
--- a/cpp/src/IceStorm/Instance.cpp
+++ b/cpp/src/IceStorm/Instance.cpp
@@ -318,4 +318,10 @@ Instance::destroy()
// replica (TopicManager) which holds the instance causing a
// cyclic reference.
_node = 0;
+ //
+ // The observer instance must be cleared as it holds the
+ // TopicManagerImpl which hodlds the instance causing a
+ // cyclic reference.
+ //
+ _observer = 0;
}