From 5fcc04ba7f0723802498fe76fbe9ab1d06b276d2 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 7 Dec 2022 13:54:47 +0100 Subject: [PATCH] distributed: Change `gc-save-all` to 0 by default Fixes #1407 --- direct/src/distributed/ConnectionRepository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/distributed/ConnectionRepository.py b/direct/src/distributed/ConnectionRepository.py index 0a492b9b40..fb9d645646 100644 --- a/direct/src/distributed/ConnectionRepository.py +++ b/direct/src/distributed/ConnectionRepository.py @@ -120,7 +120,7 @@ class ConnectionRepository( self._serverAddress = '' - if self.config.GetBool('gc-save-all', 1): + if self.config.GetBool('gc-save-all', 0): # set gc to preserve every object involved in a cycle, even ones that # would normally be freed automatically during garbage collect # allows us to find and fix these cycles, reducing or eliminating the