If only we had a Panda3D repo..

This commit is contained in:
DenialMC 2015-05-06 10:47:43 +03:00
parent 5e45804b51
commit a38bea2fdc
2 changed files with 2 additions and 2 deletions

View file

@ -41,6 +41,7 @@ class OTPClientRepository(ClientRepositoryBase):
self.parentMgr.registerParent(OTPGlobals.SPHidden, NodePath())
self.timeManager = None
self._proactiveLeakChecks = config.GetBool('crash-on-proactive-leak-detect', 1)
self.activeDistrictMap = {}
self.telemetryLimiter = TelemetryLimiter()
self.serverVersion = serverVersion

View file

@ -732,7 +732,6 @@ class ToontownClientRepository(OTPClientRepository.OTPClientRepository):
petAvatar.delete()
if callback:
callback()
if self._proactiveLeakChecks:
petAvatar.detectLeaks()
PetDetail.PetDetail(doId, petDetailsCallback)