From 9bd9b1a99b7ccc6bb70503c7e105fe664695d843 Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Thu, 2 Sep 2004 00:19:05 +0000 Subject: [PATCH] remove func ref --- direct/src/distributed/DistributedSmoothNodeBase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/direct/src/distributed/DistributedSmoothNodeBase.py b/direct/src/distributed/DistributedSmoothNodeBase.py index 8b981d3ef9..361a908ba7 100755 --- a/direct/src/distributed/DistributedSmoothNodeBase.py +++ b/direct/src/distributed/DistributedSmoothNodeBase.py @@ -64,6 +64,8 @@ class DistributedSmoothNodeBase: def stopPosHprBroadcast(self): taskMgr.remove(self.getPosHprBroadcastTaskName()) + # Delete this callback because it maintains a reference to self + self.d_broadcastPosHpr = None def startPosHprBroadcast(self, period=.2, stagger=0, type=None): BT = DistributedSmoothNodeBase.BroadcastTypes