mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
turn on gc.DEBUG_SAVEALL by default
This commit is contained in:
parent
1ace31262d
commit
2de65f7d85
@ -65,6 +65,10 @@ class ConnectionRepository(
|
||||
# DC file. The AIRepository will redefine this to 'AI'.
|
||||
self.dcSuffix = ''
|
||||
|
||||
if self.config.GetBool('want-debug-leak', 1):
|
||||
import gc
|
||||
gc.set_debug(gc.DEBUG_SAVEALL)
|
||||
|
||||
def generateGlobalObject(self, doId, dcname, values=None):
|
||||
def applyFieldValues(distObj, dclass, values):
|
||||
for i in range(dclass.getNumInheritedFields()):
|
||||
|
Loading…
x
Reference in New Issue
Block a user