From 1ace31262d995b706c7f0f191fd14d5e6824b7dd Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Mon, 15 May 2006 20:08:37 +0000 Subject: [PATCH] make gcDebugOn look at DEBUG_SAVEALL specifically --- direct/src/showbase/PythonUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index 2909e68165..4fa4987f79 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -1984,7 +1984,7 @@ def printListEnum(l): def gcDebugOn(): import gc - return (gc.get_debug() & gc.DEBUG_LEAK) == gc.DEBUG_LEAK + return (gc.get_debug() & gc.DEBUG_SAVEALL) == gc.DEBUG_SAVEALL import __builtin__ __builtin__.Functor = Functor