mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
crash fix: len of unsized object
This commit is contained in:
parent
e5c6aebcef
commit
ea16d65902
@ -186,7 +186,7 @@ class GarbageReport(Job):
|
||||
for i in xrange(numGarbage):
|
||||
yield None
|
||||
idx = garbageIndices[i]
|
||||
objStr = deeptype(self.garbage[idx])
|
||||
objStr = str(deeptype(self.garbage[idx]))
|
||||
maxLen = 5000
|
||||
if len(objStr) > maxLen:
|
||||
snip = '<SNIP>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user