From 2edbb1cf8b627378bb4b1f4b7cadc8cdaf2a04cd Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 15 Dec 2013 20:48:07 +0000 Subject: [PATCH] Reset: clear some property references. --- simgear/scene/tsync/terrasync.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/simgear/scene/tsync/terrasync.cxx b/simgear/scene/tsync/terrasync.cxx index 1262f137..8b0623d8 100644 --- a/simgear/scene/tsync/terrasync.cxx +++ b/simgear/scene/tsync/terrasync.cxx @@ -883,6 +883,10 @@ void SGTerraSync::unbind() _tiedProperties.Untie(); _bound = false; _inited = false; + + _terraRoot.clear(); + _stalledNode.clear(); + _cacheHits.clear(); } void SGTerraSync::update(double) -- 2.39.5