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