mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
cleanup a lot of leaks
This commit is contained in:
parent
5552a3a4df
commit
1efa9e716e
@ -144,6 +144,10 @@ class DirectScrolledList(DirectFrame):
|
||||
taskMgr.remove(self.taskName("scroll"))
|
||||
if hasattr(self, "currentSelected"):
|
||||
del self.currentSelected
|
||||
if self.incButtonCallback:
|
||||
self.incButtonCallback = None
|
||||
if self.decButtonCallback:
|
||||
self.decButtonCallback = None
|
||||
self.incButton.destroy()
|
||||
self.decButton.destroy()
|
||||
DirectFrame.destroy(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user