diff options
Diffstat (limited to 'cpp/src/IceStorm/Instance.cpp')
-rw-r--r-- | cpp/src/IceStorm/Instance.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/IceStorm/Instance.cpp b/cpp/src/IceStorm/Instance.cpp index c894184865b..0e95d765763 100644 --- a/cpp/src/IceStorm/Instance.cpp +++ b/cpp/src/IceStorm/Instance.cpp @@ -268,4 +268,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; } |