From 4972e2d96c6daca98b6e2885f49cf2d5af79c250 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Sat, 30 Sep 2006 01:06:26 +0000 Subject: [PATCH] added comment about EC_destroy --- direct/src/showbase/PythonUtil.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index b680f1f760..981cf9d782 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -2460,6 +2460,9 @@ class EnforcesCalldowns: self, self.__class__)) def EC_destroy(self): + """this used to be called destroy() but it was masking destroy() functions + on other classes that were multiply-inherited after ('to the right of') + this class""" if not __debug__: return # this must be called on destruction to prevent memory leaks